public class LayoutUtilities
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Rectangle2D |
getRectangle(IGraphMLNode node)
Return a rectangle corresponding to the position and dimension of the node.
|
static void |
layoutEdges(GraphMLDiagram diagram)
Layout the edges between nodes such that the edges are evenly distributed along the edges of their nodes.
|
public static java.awt.geom.Rectangle2D getRectangle(IGraphMLNode node)
node
- the nodepublic static void layoutEdges(GraphMLDiagram diagram)
diagram
- the diagramCopyright © 2021, 2022 Herve Girod. All Rights Reserved. Documentation and source under the BSD 3-Clause licence