Added program specific configurations in config.yaml under puudot and added key for verbose mode. Currently verbose mode prints 'dot' information when running the program. Refactored puudot.py and graph.py in order to allow easier addition of output formats.
32 lines
762 B
YAML
32 lines
762 B
YAML
puudot:
|
|
verbose: false
|
|
dot:
|
|
graph: |
|
|
//graph [splines=ortho, nodesep=0.2, ranksep="0.5 equally"]
|
|
graph [splines=polyline, nodesep=0.2, ranksep="0.5 equally"]
|
|
//graph [splines=curved, nodesep=0.2, ranksep="0.5 equally"]
|
|
//graph [splines=true, nodesep=0.2, ranksep="0.5 equally"]
|
|
//graph [splines=line, nodesep=0.2, ranksep="0.5 equally"]
|
|
//node [color=white]
|
|
//edge [headport=n, tailport=s]
|
|
compound=true
|
|
center=true
|
|
fontname="Helvetica"
|
|
charset="UTF-8"
|
|
bgcolor="white"
|
|
subgraph: |
|
|
labeljust=l
|
|
node:
|
|
text: |
|
|
shape=plaintext
|
|
hidden: |
|
|
//style=invis
|
|
shape=point
|
|
width=0
|
|
height=0
|
|
edge:
|
|
default: |
|
|
headport=n
|
|
tailport=s
|
|
hidden: |
|
|
style=invis |