Graph2d | External custom legend
This example shows how to create an external custom legend using the getLegend function. We use normal JavaScript to show and hide the groups by updating the dataset.