Hi,
I'm auto generating a graphml file to represent a workflow task in order to get a diagram of the flow. Each stage of the task is numbered, i'm using this number a sthe node ID. Each possible next stage in the task is represented as an edge.
See below for an partial example of the generated file.
Is there an XML attribute or different syntax I can generate to populate the node text?
Also, it would be nice to be able to control the edge text and node style, and be super nice if I could get it to auto layout too.
The desired end result is an auto generated graphml file which when openned by the user displays a layed out graph with node and edge text.
Unfortunately the graphml primer does not go into enough detail for me to be able to achieve this.
Also, i've noticed that if I save the graphml in yEd, all of my node and edge IDs are replaced with auto generated ones such as n01 e01 etc, is there any way to retain the original IDs?
Partial sample of currently generated graphml
<node id="95"/>
<edge source="120" target="130"/>
<edge source="120" target="500"/>
<node id="120"/>
<edge source="130" target="135"/>
<edge source="130" target="27"/>
<node id="130"/>
<edge source="135" target="27"/>
<edge source="135" target="500"/>
<node id="135"/>