Subject: | Graphviz (v2.16) output broken |
fcc.txt is the text input.
graph-easy fcc.txt --html gives fcc.html which looks great.
graph-easy fcc.txt --png gives fcc.png which doesnt. This command also
emits a warning which I'm guessing is from the graphviz renderer:
<
Warning: gvrender_set_style: unsupported style none - ignoring
Show quoted text
>
From my trials it seems this will happen with simpler input too. With
neato etc as the renderer, the png is different but still incorrect. The
main problems as I can see are (1) random edge hookups (2) boxes around
nodes (3) overlaps (not here but with neato).
I apologize if I'm doing something horribly wrong.
Subject: | fcc.txt |
# For use with graph-easy, eg. graph-easy <file.txt> --html > <file.html>
# Note: .txt extension is important
# Edge labels align right
edge { align: right; }
# Edge classes
# South, 0 starts edge at bottom left of node
edge.alw { label: always; start: south, 0; end: west; }
edge.opt { label: optional; style: dashed; start: south, 0; end: west; }
edge.inv { style: invisible; start: east; }
# Node classes
node.attr { borderstyle: dashed; }
# Syntax: Node (nodeattr)? (Edge (edgeattr)? Node (nodeattr)?)*
# Offset is ints denoting (right, down) from origin in "node extent" units
[ FC ] { label: LabelFC; }
-- { class: alw; }
[ SM ] { label: LabelSM; origin: FC; offset: 1, 2; }
[ FC ]
-- { class: opt; }
[ SSM ] { label: LabelSSM; fill: cyan; origin: FC; offset: 2, 6; }
[ FC ]
-- { class: alw; }
[ VM ] { label: LabelVM; origin: FC; offset: 1, 12; }
Subject: | fcc.html |
Untitled graph
LabelFC
always
LabelSM
optional
LabelSSM
always
LabelVM
Subject: | fcc.png |