hover for details and links

created with yEd

getUserData(TreeExpander.[INDIRECT_]CLONE_TO_ORPHANE)
allows to create proper
getSourceObject() relations.

getSourceObject() allows to change the
'of' attributes in the original DOM-tree
DiagramPainter
Diagram Model
(presentation data)
DiagramTree

getUserData(TreeExpander.ORPHAN_TO_CLONE)
allows to restore the original DOM-tree

W3C
DOM tree
exploded
DOM tree
TreeExpander.replaceCopyElements()
DiagramRebuilder()
.undoTransformations()
getSourceObject() allows to change the
'of' attributes in the original DOM-tree
XML
source
XmlResources.parse()
XmlResources.toXmlString()

getUserData(TreeExpander.ORPHAN_TO_CLONE)
allows to restore the original DOM-tree