diff --git a/SDFTools/sdf/templates/dot_template.dot b/SDFTools/sdf/templates/dot_template.dot index bd65b37f..ce22313e 100755 --- a/SDFTools/sdf/templates/dot_template.dot +++ b/SDFTools/sdf/templates/dot_template.dot @@ -38,6 +38,35 @@ digraph structs { >]; {% else %} +{% if not config.horizontal %} + +{{item.nodeID}} [label=< + + + {% for id in range(0,item.maxNbIOs) -%} + {% if item.inputNames[id] -%} + {% set input %}{{item.inputNames[id]}}{% endset %} + + {% else %} + + {%- endif %} + {%- endfor %} + + + + + + {% for id in range(0,item.maxNbIOs) -%} + {% if item.outputNames[id] -%} + {% set output %}{{item.outputNames[id]}}{% endset %} + + {% else %} + + {%- endif %} + {%- endfor %} + +
{{input}}
{{ item.graphvizName }}
{{output}}
>]; +{% else %} {{item.nodeID}} [label=< @@ -73,7 +102,7 @@ digraph structs {
>]; - +{% endif %} {% endif %} {% endfor %}