|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mindfusion.diagramming.jlayout.CascadeLayout
public class CascadeLayout
Performs cascading layout on simple, connected graphs. The cascade layout places vertices on a virtual grid and arranges edges orthogonally, such that if the source graph is planar it is guaranteed that all edges will have no more than two bends and will not intersect.
Constructor Summary | |
---|---|
CascadeLayout()
Initializes a new instance of the CascadeLayout class. |
Method Summary | |
---|---|
boolean |
arrange(Graph igraph,
CascadeLayoutInfo info)
Applies the layout to the specified graph using the specified settings. |
com.mindfusion.graphs.Size |
calc(com.mindfusion.graphs.Vertex vertex)
VertexSizeFunction.calc implementation. |
CascadeLayoutStatistics |
getStatistics()
Gets layout-specific information about the edges and vertices participating in the layout. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CascadeLayout()
CascadeLayout
class.
Method Detail |
---|
public boolean arrange(Graph igraph, CascadeLayoutInfo info)
public com.mindfusion.graphs.Size calc(com.mindfusion.graphs.Vertex vertex)
calc
in interface com.mindfusion.graphs.VertexSizeFunction
public CascadeLayoutStatistics getStatistics()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |