Commit 0f3b019a authored by Eyrak Paen-Rochlitz's avatar Eyrak Paen-Rochlitz
Browse files

Make doc gen instance tree diagram compatible with PlantUML converter

The generated instance tree diagram can now be converted using either
graphviz/dot or PlantUML.

Issue #48
parent c8a5c7b6
Pipeline #3916 passed with stage
in 0 seconds
......@@ -41,6 +41,7 @@ class InstanceDiagramGen {
}
def private generate(Root root, SystemInstance sys) '''
//@startdot
digraph sys.name {
//rankdir=LR;
node [shape=box];
......@@ -53,6 +54,7 @@ class InstanceDiagramGen {
ENDFOR
ENDFOR
}
//@enddot
'''
def private String instance(AbstractInstance ai) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment