Skip to content

XDSMjs JSON format

Rémi Lafage edited this page Jan 25, 2017 · 6 revisions

XDSM diagrams are described as follows:

{<xdsm-id> :
    {
        nodes: [<node>, ...]
        edges: [<edge>, ...]
        workflow: <workflow-struct>
        optpb: <optpb string>
    },
  ...
}

xdsm-id : unique reference string.

It can be used in a node of type mdo to reference a sub-xdsm diagram.

If there is just one xdsm, the structure level { xdsm-id: } can be omitted.

If there is an xdsm-id key, one named 'root' key must exist as the entry point of the possible nested XDSMs

If an xdsm-id is not referenced in a another xdsm structure the corresponding diagram will not be drawn.

Clone this wiki locally