Package jline.io.tikz
Class TikZLayoutEngine
-
- All Implemented Interfaces:
public class TikZLayoutEngineComputes automatic layout for queueing network visualization. Uses a layered graph drawing approach (Sugiyama-style).
-
-
Constructor Summary
Constructors Constructor Description TikZLayoutEngine(Network model, TikZOptions options)
-
Method Summary
Modifier and Type Method Description List<List<Node>>getLayers()Gets the layers (for debugging/testing). voidcomputeLayout()Computes the layout for all nodes. Array<double>getPosition(Node node)Gets the computed position for a node. Map<Node, Array<double>>getAllPositions()Gets all computed positions. -
-
Constructor Detail
-
TikZLayoutEngine
TikZLayoutEngine(Network model, TikZOptions options)
-
-
Method Detail
-
computeLayout
void computeLayout()
Computes the layout for all nodes.
-
getPosition
Array<double> getPosition(Node node)
Gets the computed position for a node.
- Parameters:
node- The node- Returns:
Array [x, y] in cm, or null if not computed
-
getAllPositions
Map<Node, Array<double>> getAllPositions()
Gets all computed positions.
-
-
-
-