How It Works
The component expects data in a structured object/record list format:
Field
Type
Description
Source
Text
Origin node of the flow.
Destination
Target node of the flow.
Weightage
Integer
Magnitude of the flow (determines link thickness).
SourceColor
(Optional) Hex/RGB color for the source node.
DestinationColor
(Optional) Hex/RGB color for the destination node.
FlowColor
(Optional) Hex/RGB color for the flow link. If not provided, defaults apply.
Usage in OutSystems
Example
Input Data (converted to OS List format)
[
{
"Source": "Brazil",
"Destination": "Portugal",
"Weightage": 5,
"SourceColor": "#1f77b4",
"DestinationColor": "#ff7f0e",
"FlowColor": "#2ca02c"
},
"Source": "Canada",
"Destination": "France",
"Weightage": 5
}
]
Output