Package jline.io.tikz

Class TikZLayoutEngine

java.lang.Object
jline.io.tikz.TikZLayoutEngine

public class TikZLayoutEngine extends Object
Computes automatic layout for queueing network visualization. Uses a layered graph drawing approach (Sugiyama-style).
  • Constructor Details

  • Method Details

    • computeLayout

      public void computeLayout()
      Computes the layout for all nodes.
    • getPosition

      public 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

      public Map<Node,double[]> getAllPositions()
      Gets all computed positions.
    • getLayers

      public List<List<Node>> getLayers()
      Gets the layers (for debugging/testing).