Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/graphical/dot/doux/extracted
Source used for this grammar: Guillaume Doux, GraphvizDot 1.0, GraphVizDot.ecore
, 2008/06/04 [Atlantic]
LocatedElement
, NamedElement
, Graph
, GraphElement
, Node
, DirectedArc
, Constraint
, SubGraph
, Boolean
, Integer
, String
), 0 root (—), 2 top (LocatedElement
, Boolean
), 0 bottom (—).[type]
2, [rankDir]
2, [dim]
2, [contents]
2, [shape]
2, [style]
, [sourceNode]
, [sourcePart]
, [targetNode]
, [targetPart]
, [val]
, [refers]
, [label]
, [color]
, [z]
, [graph]
.LocatedElement ::= NamedElement
NamedElement ::= Graph
NamedElement ::= GraphElement
NamedElement ::= Node
Graph ::= SubGraph
Graph ::=
[type]::String [rankDir]::String [dim]::Integer [contents]::GraphElement
GraphElement ::= DirectedArc
GraphElement ::= Constraint
GraphElement ::= Node
GraphElement ::= SubGraph
Node ::= [shape]::String [style]::String
DirectedArc ::= [sourceNode]::String [sourcePart]::String [targetNode]::String [targetPart]::String [shape]::String
Constraint ::=
[val]::String [refers]::String
SubGraph ::=
[type]::String [rankDir]::String [dim]::Integer [contents]::GraphElement
[label]::String [color]::String [z]::Integer [graph]::GraphBoolean ::= "true" "false"
Integer ::= integer
String ::= string