Package jline.io.tikz
Class TikZLayoutEngine
java.lang.Object
jline.io.tikz.TikZLayoutEngine
Computes automatic layout for queueing network visualization.
Uses a layered graph drawing approach (Sugiyama-style).
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidComputes the layout for all nodes.Gets all computed positions.Gets the layers (for debugging/testing).double[]getPosition(Node node) Gets the computed position for a node.
-
Constructor Details
-
TikZLayoutEngine
-
-
Method Details
-
computeLayout
public void computeLayout()Computes the layout for all nodes. -
getPosition
Gets the computed position for a node.- Parameters:
node- The node- Returns:
- Array [x, y] in cm, or null if not computed
-
getAllPositions
Gets all computed positions. -
getLayers
Gets the layers (for debugging/testing).
-