yFiles for Java version 2.16 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.15 series.
(See also the entire yFiles for Java change log.)
NullPointerExceptionif the IncrementalHierarchicLayouter is wrapped by an instance of RecursiveGroupLayouter and the input graph contains layering constraints between elements of different groups.
IllegalArgumentExceptionin incremental layout mode.
IllegalArgumentExceptionthat may appear if all nodes are located at position
(0,0)and the algorithm handles substructures in a special way (see setChainSubstructureStyle, setStarSubstructureStyle, setCycleSubstructureStyle, and setParallelSubstructureStyle).
ArrayIndexOutOfBoundsExceptionif property setUseFaceMaximization is enabled.
WrongGraphStructureexception for input graphs with groups that only contain disconnected nodes.
ArrayIndexOutOfBoundsExceptionthat may appear for some input graphs with empty group nodes.
IllegalArgumentExceptionif there were labels on edges with zero length.
IllegalStateExceptionfor input graphs with specified strategy mementos (see STRATEGY_MEMENTO_DPKEY).
NullPointerExceptionfor inputs containing fixed, grouped edges and when using polyline routing style.
NullPointerExceptionthat could be triggered during routing in cases where the source/target node is covered by obstacles (i.e. other nodes, labels).
NullPointerExceptionthat was triggered in cases where the input contained grouped edges.
NullPointerExceptionthat occurred for inputs with a grid (see Grid).
index + 1instead of
IllegalArgumentExceptionif there is a node without associated id (see NODE_ID_DPKEY). Instead the class uses the node itself as id.
IllegalArgumentExceptionif the specified value is less than or equal to zero.
index + 1but uses position
indexnow as specified in
java.lang.Object. It should be of type PathRequest for routed edges and Edge for fixed ones. The method getEdge has been removed as the info is not necessarily associated with an edge.
java.lang.Object. It should be of type PathRequest for routed edges and Edge for fixed ones. Removed method getEdge and replaced it with getItem.
y.layout.router.polyline.EdgeInfo(y.layout.router.polyline.Path, y.layout.router.polyline.PathSearchConfiguration)to PathSearchConfiguration).
y.layout.router.polyline.Path#getEdge(). A path is now not necessarily associated with an edge but only with the newly introduced PathRequest.