memgraph / orb

Graph visualization library
Apache License 2.0
364 stars 17 forks source link

New: Add removal functions #96

Closed AlexIchenskiy closed 7 months ago

AlexIchenskiy commented 8 months ago

This PR introduces functions for removing all data, nodes (the same functionality as removing all the data), or edges by reusing existing remove function. It can be used as follows:

orb.data.removeAll();
orb.data.removeAllNodes();
orb.data.removeAllEdges();