SankeyChartResponse¶
| Field | Type | Description |
|---|---|---|
| nodes | The nodes of the diagram. | |
| links | The links of the diagram. |
Example¶
JSON
{
"links": [
{
"source_node_id": "abc-123-def",
"target_node_id": "abc-123-def",
"value": 1
}
],
"nodes": [
{
"id": "abc-123-def",
"name": "My Workflow"
}
]
}
SankeyChartResponse.Node¶
A single state in the diagram.
| Field | Type | Description |
|---|---|---|
| id | string | The ID of the node. |
| name | string | The name of the node. |
Example¶
JSON
{
"id": "abc-123-def",
"name": "My Workflow"
}
SankeyChartResponse.Link¶
A connection between two nodes in a diagram.
| Field | Type | Description |
|---|---|---|
| source_node_id | string | The ID of the source node. |
| target_node_id | string | The ID of the target node. |
| value | uint64 | The value of the link. |
Example¶
JSON
{
"source_node_id": "abc-123-def",
"target_node_id": "abc-123-def",
"value": 1
}