Wondering if there is a sample that shows a workflow diagram. Refer attached for data and what I’m trying to achieve
Here’s the data:
myDiagram.model = new go.GraphLinksModel(
[
{ key: 1, text: 'Open' },
{ key: 6, text: 'Closed'},
{ key: 10112, text: 'Work in progress' },
{ key: 10103, text: 'Pending' },
{ key: 10113, text: 'Completed' },
{ key: 10104, text: 'Canceled' },
],
[
{
from: 1,
to: 10104,
},
{
from: 1,
to: 10113,
},
{
from: 1,
to: 10112,
},
{
from: 1,
to: 10103,
},
{
from: 10112,
to: 10104,
},
{
from: 10103,
to: 10104,
},
{
from: 10112,
to: 10113,
},
{
from: 10113,
to: 10112,
},
{
from: 10103,
to: 10112,
},
{
from: 10112,
to: 10103,
},
{
from: 10104,
to: 6,
},
{
from: 10113,
to: 6,
}
]
);