Grammar extracted by Vadim Zaytsev, see the Grammar Zoo entry for details: markup/graphical/datadiagramml/simplified/extracted
Source used for this grammar: Hugo Brunelière, MSVisio_DatadiagramMLSimplified.ecore
, 2005/07/01
CellType
, VisioDocument
, PageSheet
, NamedElt
, IdentifiedElt
, Shape
, ShapeElt
, IXElt
, DelElt
, Geom
, XYElt
, LineTo
, MoveTo
, XYAElt
, ArcTo
, SplineKnot
, PolylineTo
, XYABElt
, InfiniteLine
, XYABCDElt
, Ellipse
, EllipticalArcTo
, SplineStart
, XYABCDEElt
, NURBSTo
, Text
, TextElt
, StringElt
, MastersCollection
, MasterShortCut
, Icon
, Master
, ShapesCollection
, ConnectsCollection
, Connect
, MasterElt
, PagesCollection
, Page
, PageElt
, Integer
, String
, Boolean
), 0 root (—), 4 top (NamedElt
, IdentifiedElt
, IXElt
, DelElt
), 1 bottom (Double
3).[unit]
, [formula]
, [err]
, [value]
3, [docMasters]
, [docPages]
, [ss_shapes]
2, [lineStyle]
2, [fillStyle]
2, [textStyle]
2, [shapeElts]
2, [noFill]
, [noLine]
, [noShow]
, [noSnap]
, [linesTo]
, [movesTo]
, [arcsTo]
, [splineKnots]
, [polylinesTo]
, [infiniteLines]
, [ellipses]
, [ellipticalArcsTo]
, [splineStarts]
, [nurbsTo]
, [lt_geom]
, [mt_geom]
, [ac_geom]
, [sk_geom]
, [pt_geom]
, [il_geom]
, [e_geom]
, [eat_geom]
, [ss_geom]
, [nt_geom]
, [textElts]
, [ms_visioDocument]
, [masters]
, [masterShortCuts]
, [m_masterShortCuts]
, [iconSize]
2, [patternFlags]
2, [prompt]
2, [shortcutURL]
, [shortcutHelp]
, [alignName]
2, [icons]
, [i_masterShortCut]
, [m_masters]
, [baseID]
, [matchByName]
, [hidden]
, [iconUpdate]
, [masterElts]
, [shapes]
, [connections]
, [c_connects]
, [fromSheet]
, [toSheet]
, [fromCell]
, [toCell]
, [fromPart]
, [toPart]
, [ps_visioDocument]
, [pages]
, [p_pages]
, [background]
, [backPage]
, [viewScale]
, [viewCenterX]
, [ViewCenterY]
, [reviewerID]
, [associatedPage]
, [pageElts]
.CellType ::= [unit]::String [formula]::String [err]::String [value]::String
VisioDocument ::= [docMasters]::MastersCollection [docPages]::PagesCollection
PageSheet ::=
[ss_shapes]::ShapesCollection [lineStyle]::Integer [fillStyle]::Integer [textStyle]::Integer [shapeElts]::ShapeElt
NamedElt ::= MasterShortCut
NamedElt ::= Page
IdentifiedElt ::= MasterShortCut
IdentifiedElt ::= Master
IdentifiedElt ::= Page
Shape ::= PageSheet
Shape ::=
[ss_shapes]::ShapesCollection [lineStyle]::Integer [fillStyle]::Integer [textStyle]::Integer [shapeElts]::ShapeElt
ShapeElt ::= Text
ShapeElt ::= Geom
IXElt ::= XYElt
DelElt ::= XYElt
Geom ::= [noFill]::CellType [noLine]::CellType [noShow]::CellType [noSnap]::CellType [linesTo]::LineTo[movesTo]::MoveTo [arcsTo]::ArcTo [splineKnots]::SplineKnot [polylinesTo]::PolylineTo [infiniteLines]::InfiniteLine [ellipses]::Ellipse [ellipticalArcsTo]::EllipticalArcTo [splineStarts]::SplineStart [nurbsTo]::NURBSTo
XYElt ::= LineTo
XYElt ::= MoveTo
XYElt ::= XYAElt
LineTo ::= [lt_geom]::Geom
MoveTo ::= [mt_geom]::Geom
XYAElt ::= ArcTo
XYAElt ::= SplineKnot
XYAElt ::= PolylineTo
XYAElt ::= XYABElt
ArcTo ::= [ac_geom]::Geom
SplineKnot ::= [sk_geom]::Geom
PolylineTo ::= [pt_geom]::Geom
XYABElt ::= InfiniteLine
XYABElt ::= XYABCDElt
InfiniteLine ::= [il_geom]::Geom
XYABCDElt ::= Ellipse
XYABCDElt ::= EllipticalArcTo
XYABCDElt ::= SplineStart
XYABCDElt ::= XYABCDEElt
Ellipse ::= [e_geom]::Geom
EllipticalArcTo ::= [eat_geom]::Geom
SplineStart ::= [ss_geom]::Geom
XYABCDEElt ::= NURBSTo
NURBSTo ::= [nt_geom]::Geom
Text ::=
[textElts]::TextElt
TextElt ::= StringElt
StringElt ::= [value]::String
MastersCollection ::= [ms_visioDocument]::VisioDocument [masters]::Master[masterShortCuts]::MasterShortCut
MasterShortCut ::=
[m_masterShortCuts]::MastersCollection [iconSize]::Integer [patternFlags]::Integer [prompt]::String [shortcutURL]::String [shortcutHelp]::String [alignName]::Integer [icons]::Icon
Icon ::= [i_masterShortCut]::MasterShortCut [value]::String
Master ::=
[m_masters]::MastersCollection [baseID]::String [matchByName]::Boolean [iconSize]::Integer [patternFlags]::Integer [prompt]::String [hidden]::Boolean [iconUpdate]::Boolean [alignName]::Integer [masterElts]::MasterElt
ShapesCollection ::=
[shapes]::Shape
ConnectsCollection ::=
[connections]::Connect
Connect ::= [c_connects]::ConnectsCollection [fromSheet]::Integer [toSheet]::Integer [fromCell]::String [toCell]::String [fromPart]::Integer [toPart]::Integer
MasterElt ::= Icon
MasterElt ::= ShapesCollection
MasterElt ::= ConnectsCollection
PagesCollection ::=
[ps_visioDocument]::VisioDocument [pages]::Page
Page ::=
[p_pages]::PagesCollection [background]::Boolean [backPage]::Integer [viewScale]::Double [viewCenterX]::Double [ViewCenterY]::Double [reviewerID]::Integer [associatedPage]::Integer [pageElts]::PageElt
PageElt ::= ShapesCollection
PageElt ::= ConnectsCollection
Integer ::= integer
String ::= string
Boolean ::= "true" "false"