|Problem with interpretation of XML representation of diagram layout [message #1714759]
||Mon, 16 November 2015 12:53
|| nana eb
Registered: November 2015
hey everbody, |
after i draw a diagram with my own generated GMF-Editor (see Attachement1), i need to redraw it in another GUI. For that i'm using the XML file of the diagram, and i don't know how to use the XML information to redraw a connection in a right way.
Does anyone know how i can use the three values under the nodes "Edges":
to draw a connection (or get the real bendpoints of a connection).
when i only use the attribute bendpoints/points, i get this (see Attatchment2) and as we see, most of the connections are not on the right place.
and i realized that the attributes sourceAnchor/id and targetAnchor/id are missing at some "edges" nodes (see attached XML file).
please, i really need help, any comment could be helpful.
thanks in advance ..
(Size: 15.31KB, Downloaded 366 times)
(Size: 16.20KB, Downloaded 380 times)
(Size: 13.18KB, Downloaded 125 times)
Powered by FUDForum
. Page generated in 0.04311 seconds