Retrieve component from mxCell inside object tag
This commit is contained in:
@@ -8,8 +8,9 @@ type MxGraphModel struct {
|
||||
XMLName xml.Name `xml:"mxGraphModel"`
|
||||
|
||||
Root struct {
|
||||
XMLName xml.Name `xml:"root"`
|
||||
MxCell []MxCell `xml:"mxCell"`
|
||||
XMLName xml.Name `xml:"root"`
|
||||
MxCell []MxCell `xml:"mxCell"`
|
||||
MxObject *[]MxObject `xml:"object"`
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,6 +21,15 @@ type MxCell struct {
|
||||
RID *string `xml:"rID,attr"`
|
||||
Source *string `xml:"source,attr"`
|
||||
Target *string `xml:"target,attr"`
|
||||
Rtype *string `xml:"rType,attr"`
|
||||
}
|
||||
|
||||
|
||||
type MxObject struct {
|
||||
XMLName xml.Name `xml:"object"`
|
||||
ID string `xml:"id,attr"`
|
||||
Settings []xml.Attr `xml:",any,attr"`
|
||||
MxCell MxCell `xml:"mxCell"`
|
||||
}
|
||||
|
||||
type mxissue struct {
|
||||
|
||||
Reference in New Issue
Block a user