Hiding and showing elements

The component allows users to hide and show predecessor and successor entities in the graph. This can be achieved by using the various CompanyOwnershipModel hide/show methods like hidePredecessors or showPredecessors.

This hide/show functionality is already available in the default DefaultContextMenuItems. See the following demo on how to bind those methods to additional UI elements, so that they can be triggered interactively with one click.