d3.force-nodes

0.2.0 • Public • Published

d3.Force-nodes

Inherits from d3.Force-links-change and d3.Force-links-status, and implements two new methods-- one for removing all links from a node, and then an additional method which also removes the node itself.

var node_manager = new Node(loops, directed, multiedge)

node_manager.orphan(lonely_node, force)
node_manager.remove(bad_node, force)

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i d3.force-nodes

    Weekly Downloads

    3

    Version

    0.2.0

    License

    MIT

    Last publish

    Collaborators

    • andrewwinterman