|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.circular.NodeTypeAwareSequencer
public class NodeTypeAwareSequencer
A NodeSequencer
implementation that ensures that all nodes of the same
node type
are consecutive.
If there are no types, it delegates to the default NodeSequencer
implementation that
tries to minimize crossings.
Constructor Summary | |
---|---|
NodeTypeAwareSequencer()
Creates a new NodeTypeAwareSequencer instance. |
Method Summary | |
---|---|
NodeCursor |
nodes(Graph graph)
Returns a cursor that grants access to all nodes of the given graph in some order. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeTypeAwareSequencer()
NodeTypeAwareSequencer
instance.
Method Detail |
---|
public NodeCursor nodes(Graph graph)
NodeSequencer
nodes
in interface NodeSequencer
graph
- the input graph
NodeCursor
that grants access to all nodes of a graph
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |