Documentation ¶
Overview ¶
package drawio provides functionality to parse resources from a draw.io XML file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Diagram ¶
type Diagram struct { XMLName xml.Name `xml:"diagram"` MxGraphModel MxGraphModel `xml:"mxGraphModel"` }
Diagram represents the diagram element within the draw.io XML file.
type Geometry ¶
type Geometry struct { XMLName xml.Name `xml:"mxGeometry"` X float64 `xml:"x,attr"` Y float64 `xml:"y,attr"` Width float64 `xml:"width,attr"` Height float64 `xml:"height,attr"` }
Geometry represents the geometry element within a cell of the draw.io XML file.
type MxCell ¶
type MxCell struct { XMLName xml.Name `xml:"mxCell"` ID string `xml:"id,attr"` Value string `xml:"value,attr"` Style string `xml:"style,attr"` Parent string `xml:"parent,attr"` Vertex bool `xml:"vertex,attr"` Source string `xml:"source,attr"` Target string `xml:"target,attr"` Geometry Geometry `xml:"mxGeometry"` }
MxCell represents a cell element within the draw.io XML file.
type MxGraphModel ¶
MxGraphModel represents the graph model element within the draw.io XML file.
Click to show internal directories.
Click to hide internal directories.