This demo shows you how you can use the parentId property of data to merge it into an existing node in the chart, promoting that node into a combo. This allows you to load a small ‘top level’ network initially, and bring in lower levels of detail on demand, reducing the need to bring large numbers of nodes and links into a chart when they aren’t needed.
The demo works by listening to a 'double-click' event, and calling first a chart.merge() to bring in the new data with the appropriate parentId, followed by a chart.combo().arrange() call to ensure the new combo is correctly sized and arranged.
Key functions used: