How to Use This Website

Creating and Managing Nodes

Create Nodes: Double-click anywhere on the canvas to create a node.

Select Nodes: Click on a node to select it. You can select up to 2 nodes at a time.

Drag Nodes: Hold the right mouse button and move the node to reposition it anywhere on the canvas.

Add Edges: Select 2 nodes and click 'Add Edge' to create a connection with a specified weight.

Delete Node: Click 'Delete Node' after selecting a node to remove it and its connected edges.

Running Algorithms

Run Dijkstra: Select 2 nodes and click 'Run Dijkstra' to find the shortest path between them.

Run Kruskal: Click 'Run Kruskal' to find the minimum spanning tree using Kruskal's algorithm.

Run Prim's: Click 'Run Prim's' to find the minimum spanning tree using Prim's algorithm.

Steps