Skip to content

farshi/d3grow

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

d3grow

Example force directed graph that lets you cleanly add nodes and edges as you go rather than creating a static graph. It starts with 20 nodes and random connections. Click on "More" to add a node. Each new node will connect to one or two nodes at random. Half the time the second link will be to the first node, so it ends up looking like a core with random fan-out links. The node size increases with the square root of the number of links to it. The link length increases with the size of the nodes at each end. You can grab and drag nodes. If you click on a node it will change color to blue. The next step is to delete nodes by clicking on them, but that's not implemented.

Run it by clicking here

After clicking on "More" a bunch of times, and wiggling the big node around it will move and look like a jellyfish: screenshot

About

create

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 100.0%