public class GraphMLLayoutFactory
extends java.lang.Object
GraphMLDiagram
graphs.public static GraphMLLayoutFactory getInstance()
public BalloonLayout<IGraphMLNode,GraphMLEdge> newBalloonLayout()
public CircleLayout<IGraphMLNode,GraphMLEdge> newCircleLayout()
public DAGLayout<IGraphMLNode,GraphMLEdge> newDAGLayout()
public FRLayout<IGraphMLNode,GraphMLEdge> newFRLayout()
public FRLayout2<IGraphMLNode,GraphMLEdge> newFRLayout2()
public ISOMLayout<IGraphMLNode,GraphMLEdge> newISOMLayout()
public KKLayout<IGraphMLNode,GraphMLEdge> newKKLayout()
public RadialTreeLayout<IGraphMLNode,GraphMLEdge> newRadialTreeLayout()
public SpringLayout<IGraphMLNode,GraphMLEdge> newSpringLayout()
public SpringLayout2<IGraphMLNode,GraphMLEdge> newSpringLayout2()
public TreeLayout<IGraphMLNode,GraphMLEdge> newTreeLayout()
public SugiyamaLayout<IGraphMLNode,GraphMLEdge> newSugiyamaLayout()
public void layout(GraphMLDiagram diagram, Layout<IGraphMLNode,GraphMLEdge> layout)
diagram
- the diagramlayout
- the layoutpublic void layout(GraphMLDiagram diagram, Layout<IGraphMLNode,GraphMLEdge> layout, boolean updateEdges)
diagram
- the diagramlayout
- the layoutpublic void layout(GraphMLDiagram diagram, Layout<IGraphMLNode,GraphMLEdge> layout, java.awt.Dimension size)
diagram
- the diagramlayout
- the layoutsize
- the area size on which to apply the layoutpublic void layout(GraphMLDiagram diagram, Layout<IGraphMLNode,GraphMLEdge> layout, boolean updateEdges, java.awt.Dimension size)
diagram
- the diagramlayout
- the layoutupdateEdges
- true if the edges positions must be updatedsize
- the area size on which to apply the layoutCopyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence