55 lines
1016 B
Plaintext
55 lines
1016 B
Plaintext
@startuml mxgraph
|
|
package MxGraph {
|
|
|
|
class MxGraphModel {
|
|
- XMLName xml.Name
|
|
+ Root : RootStruct
|
|
+ createLinks()
|
|
}
|
|
|
|
class RootStruct {
|
|
- XMLName xml.Name
|
|
- MxCell[] MxCell
|
|
- MxObject[] MxObject
|
|
- MxLink[] MxLink
|
|
}
|
|
|
|
class MxCell {
|
|
- XMLName xml.Name
|
|
+ ID string
|
|
+ RID *string
|
|
+ Rtype string
|
|
+ Parent *string
|
|
+ Edge *string
|
|
+ Source *string
|
|
+ Target *string
|
|
+ processLinks()
|
|
}
|
|
|
|
class MxLink {
|
|
+ ID string
|
|
+ Source string
|
|
+ Target string
|
|
}
|
|
|
|
class MxObject {
|
|
- XMLName xml.Name
|
|
+ ID string
|
|
+ Settings []xml.Attr
|
|
+ MxCell MxCell
|
|
}
|
|
|
|
class mxissue {
|
|
- msg string
|
|
+ Error() string
|
|
}
|
|
|
|
MxGraphModel *-- RootStruct : Root
|
|
RootStruct *-- MxCell : MxCell
|
|
RootStruct *-- MxObject : MxObject
|
|
RootStruct *-- MxLink : MxLink
|
|
MxObject *-- MxCell : MxCell
|
|
}
|
|
|
|
@enduml
|