A INodeSequencer implementation that ensures that all nodes of the same node type are consecutive.
Remarks
If there are no types, it delegates to the default INodeSequencer implementation that tries to minimize crossings.
Type Details
- yfiles module
- layout-organic
- yfiles-umd modules
- layout-multipage, layout-organic, layout
- Legacy UMD name
- yfiles.circular.NodeTypeAwareSequencer
See Also
Constructors
Creates a new NodeTypeAwareSequencer instance.
Methods
Returns a cursor that grants access to all nodes of the given graph in some order.
Parameters
options - Object
A map of options to pass to the method.
A map of options to pass to the method.
- graph - Graph
- the input graph
Returns
- ↪INodeCursor
- a INodeCursor that grants access to all nodes of a graph