yFiles for Java version 2.14 is the newest major release available in the yFiles for Java 2.x technology line. It contains many exciting new features compared to older versions and is almost completely API compatible with the 2.13 series.
(See also the entire yFiles for Java change log.)
raisedBorderEnabledthat governs whether the node border is painted before or after node ports and node labels.
bendToBendDistancethat may be used to enable bend-to-bend snapping.
The new interactive documentation viewer integrates the yFiles for Java API documentation and the yFiles for Java Developer's Guide. Its built-in optimized search capability makes it easy to quickly get a result list of both API references and related descriptions.
The Javadoc™ API documentation is additionally available in the doc/javadoc/ folder.
NullPointerExceptiontriggered in AsIsSequencer for edges incident to group nodes that have a sketch without bend points as well as port constraints.
NullPointerExceptionthat could happen in AsIsSequencer when incremental group hints are defined (see createIncrementalGroupHint) along with specific port constraints on edges incident to an incremental group node.
IllegalStateExceptionthat could be triggered when group nodes of the input graph have PortCandidates.
IllegalArgumentExceptionthat was triggered due to NaN values that could occur in case the input graph has a very large number of nodes.
ClassCastExceptionif edge bundling is enabled and a custom node sequencer is specified (see setNodeSequencer).
NullPointerExceptionthat appeared if no DataProvider with key PARTIAL_NODES_DPKEY is registered with the input graph.
NullPointerExceptionwhen handling graphs with group nodes.
IllegalArgumentExceptionthat appeared if there were node labels with zero height/width.
NullPointerExceptionthat appeared if grouped edges were assigned to different fixed port locations (either specified with PortCandidates or PortConstraints) at their grouped end.
RuntimeExceptionthat appeared if there were fixed (see setSphereOfAction) and grouped edges at the same time.
NullPointerExceptionthat could have appeared if a specified PortCandidate had multiple directions.
IllegalStateExceptioncaused by non-orthogonal edge segments.
NullPointerExceptionin method hierarchicalClustering that occurred when the given maximum number of clusters was
groupClosedstates of realizer delegates in ProxyShapeNodeRealizer instances that are created in createNode for new group/folder nodes.
NullPointerExceptionthat occurred on mouse clicks after transferring the focus to the application menu bar by typing the ALT key on Windows.
IllegalArgumentExceptionthat occurred for mouse drag events when the canvas component of the Graph2DView associated to the overview has width or height
falseif the labeling algorithm is disabled (see isLabelLayouterEnabled). In previous versions it was only required that an appropriate labeling algorithm was specified, but it was not necessary that it was enabled. Therefore, the integrated labeling state queried from the property might not have corresponded to what the layout algorithm actually did. The same behavior change applies to the following methods:
Infinityif the sum of the shortest path distances is
0. Before, it was set to
NaNin such cases.
nullto return to the default sequencer. In previous versions, specifying
nullleads to an
double, see setPreferredEdgeLength and getPreferredEdgeLength.