const data = {
nodeData: [
{
id: '0',
name: 'Investment Capital',
type: 'Corporation'
},
{ id: '1', name: 'Melissa Barner', type: 'Trust' },
{ id: '2', name: 'Monster Inc', type: 'Corporation' },
{
id: '3',
name: 'International Group',
type: 'Trust'
}
],
edgeData: [
{
id: '0',
sourceId: '1',
targetId: '0',
ownership: 30
},
{
id: '1',
sourceId: '2',
targetId: '0',
ownership: 60
},
{
id: '2',
sourceId: '3',
targetId: '0',
ownership: 5
}
]
}