Browsable Dot Grammar

CC-BY

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]

Summary

Syntax

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]::Graph
Boolean ::=
	"true"
	"false"
Integer ::=
	integer
String ::=
	string

GrammarLabMaintained by Dr. Vadim Zaytsev a.k.a. @grammarware. Last updated in September 2015. []