# For use with graph-easy, eg. graph-easy --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; }