Share Download code Jump to the code Open in the playground

Halo masking

In dense graphs it can become hard to visualize which edge is connected to which node. The halo.hideNonAdjacentEdges attribute allows a node's halo to mask edges that are not adjacent to the node.
In this example, this attribute is set to true when a node is selected. Try to select a few nodes and see what happens.

Note: this feature is only available in the WebGL renderer.