Edges and Nodes
Create graphs and experiment by seeing prims and kruskal algorithm applied to them step by step.
Created for 3blues1brown Summer of Math Exposition 2
Controls:
left click node or edge to select it and edit its name or/and weight
left click and hold a node to drag it across the screen
To create a node click on the node icon on the top right and click anywhere on the screen
To create an edge , click on the edge icon on the top right and select 2 nodes back to back
To delete a node or edge, click on the x in the top right and then click on any edge or node
Press "a" key to focus camera on graph
Right click and drag to move camera in any direction
Scroll in/out on mouse to zoom in and out on graph
Source code on Github
Status | Released |
Category | Tool |
Platforms | HTML5 |
Author | EdgesAndNodes |
Made with | Unity |
Average session | A few minutes |
Languages | English |
Inputs | Keyboard, Mouse |
Comments
Log in with itch.io to leave a comment.
I cannot get it to work. :( Clicking on a the node button doesn't let me create nodes in the canvas, so I cannot say if anything else works but the introduction. It may be that a node is created, because the X button seems to delete something. At least it reacts. Also I can name the graph, but I cannot type my name in the Name window.