Package jline.io.tikz
package jline.io.tikz
TikZ visualization package for LINE queueing networks.
This package provides functionality to export queueing network models as TikZ/LaTeX diagrams. The generated diagrams can be compiled to PDF using pdflatex and displayed in a viewer.
Main Classes
TikZExporter- Main entry point for generating TikZ codeTikZNodeRenderer- Renders individual node typesTikZLayoutEngine- Computes automatic node positionsTikZViewer- Displays generated PDF diagramsTikZOptions- Configuration options
Usage Example
Network model = new Network("MyModel");
// ... add nodes and connections ...
// Generate and display TikZ diagram
model.tikzView();
// Or generate TikZ code
String tikz = model.toTikZ();
// Or export to PDF file
File pdf = model.exportTikZ("mymodel");
Node Shapes
| Node Type | Shape | Color |
|---|---|---|
| Queue | Rectangle + server circle | Blue |
| Delay | Dashed ellipse | Green |
| Source | Circle | Yellow |
| Sink | Circle | Red |
| Fork | Diamond | Orange |
| Join | Diamond | Purple |
| Router | Hexagon | Cyan |
| ClassSwitch | Trapezium | Pink |
| Cache | Stacked rectangle | Gray |
- See Also:
-
ClassDescriptionExports a LayeredNetwork model as a UML sequence diagram using TikZ/pgf-umlsd.Computes layout positions for UML sequence diagram elements.Configuration options for UML sequence diagram visualization of LayeredNetwork models.Traverses a LayeredNetwork model to extract interactions and fragments for UML sequence diagram generation.Represents a combined fragment (loop, par, alt) in the sequence diagram.Represents a single interaction (message or activation) in the sequence diagram.Routes edges around nodes to achieve a planar graph layout.Exports a queueing network model as a TikZ diagram.Computes automatic layout for queueing network visualization.Renders queueing network nodes as TikZ code.Configuration options for TikZ network visualization.Displays PDF files generated from TikZ diagrams using external viewers.