yFiles for Java version 2.15 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.14 series.
(See also the entire yFiles for Java change log.)
IllegalArgumentExceptionin such cases.
IllegalStateExceptioncaused by an inconsistent grouping state that may appear for input graphs with groups and incremental elements (see LAYOUT_MODE_INCREMENTAL).
NullPointerExceptionfor input graphs with source/target port labels (see PLACE_AT_SOURCE_PORT and PLACE_AT_TARGET_PORT) and with a subset of nodes associated with halos (see NodeHalo).
NullPointerExceptionif the input graph contains port groups, see SOURCE_PORT_GROUP_ID_DPKEY and TARGET_PORT_GROUP_ID_DPKEY.
(0,0), see property setGridReference.
IllegalArgumentExceptionthat was caused by some input graphs that contain both swimlanes and groups as well as fixed elements.
IllegalArgumentExceptionthat could be triggered when the user specified both edge directedness (see EDGE_DIRECTEDNESS_DPKEY) and layering constraints.
IllegalArgumentExceptionthat could be triggered when the input graph had a partition grid and PortCandidates or PortConstraints.
IllegalArgumentExceptionwhen the layout algorithm was configured to stop after the layering or sequencing phase (see setStopAfterLayeringEnabled and setStopAfterSequencingEnabled).
IllegalArgumentExceptionthat could appear if cycle substructure detection is enabled, see setCycleSubstructureStyle.
IllegalArgumentExceptionthat was triggered in some cases when there were parallel edges and property setUniformPortAssignmentEnabled was enabled.
StackOverflowErrorthat may appear for larger graphs.
NullPointerExceptionthat was triggered for some input graphs when the maximum duration was exceeded.
RuntimeExceptionthat could be triggered when the graph contained fixed edges (see setSphereOfAction) with very short segments.
NullPointerExceptionthat could be triggered if there are buses with both fixed and movable edges at the same time.
NullPointerExceptionwhen the graph contained only a single edge, group nodes and integrated edge labeling was enabled.
NullPointerExceptionwhen the input location of a node was set to a very large value (e.g. largest possible floating-point value). This applies if the algorithm is not in from-sketch mode. For the from-sketch mode, an exception can still occur - this case is considered to be bad input.
IllegalArgumentExceptionthat was caused by some input graphs that contain edges with zero length segments and labels associated with a free edge label model (i.e., SmartEdgeLabelModel or FreeEdgeLabelModel).
IllegalArgumentExceptionthat was triggered for some input graphs with user-defined components (see GIVEN_COMPONENT_ID_DPKEY) where at least one node had
nullas its component id.
NullPointerExceptionwhen the ports of edges in the input graph were outside the node bounds.
NullPointerExceptionthat occurred when interactively moving labels while MoveLabelMode's isSnappingEnabled property was set to
editingStoppedevents when editing table cell values of a table editor in external editing dialogs. Previously open external editing dialogs ignored these events. Now open external editing dialogs will be closed when notified of these events from their associated table cell editor.
DemoBrowserto run with Java 9, 10, and 11.
StateNodeRealizer: Fixed setting
StateNodeRealizer's custom shape type.
y.option.IconPopupEditor. This class could never be safely used, because its constructor requires types that are not part of yFiles for Java's public API.