public final class LayoutUtilities
extends java.lang.Object
Red |
Constructor and Description |
---|
LayoutUtilities() |
Modifier and Type | Method and Description |
---|---|
static boolean |
checkConsistency(java.lang.Object composite,
GraphModel model)
Check consistency of the graph in terms of topology and
layout.
|
static boolean |
checkContainment(java.lang.Object composite,
GraphModel model)
Check consistency and containment in terms of topology and
layout.
|
static void |
place(LayoutTarget target,
java.lang.Object node,
double x,
double y)
Place the given node at the given position and
reroute its edges.
|
static void |
placeNoReroute(LayoutTarget target,
java.lang.Object node,
double x,
double y)
Place the given node at the given position but do
not reroute its edges.
|
static void |
routeVisibleEdges(java.lang.Object composite,
LayoutTarget target)
Iterate over all the visible edges in the given graph and reroute
them.
|
public static final void place(LayoutTarget target, java.lang.Object node, double x, double y)
public static final void placeNoReroute(LayoutTarget target, java.lang.Object node, double x, double y)
public static final boolean checkConsistency(java.lang.Object composite, GraphModel model)
public static final boolean checkContainment(java.lang.Object composite, GraphModel model)
public static final void routeVisibleEdges(java.lang.Object composite, LayoutTarget target)