Each vertex is labelled with its current shortest-path estimate d. Dijkstra's algorithm needs non-negative weights; Bellman-Ford allows negative weights and detects negative-weight cycles; a DAG (directed, no cycles) can be handled in one pass in topological order. Floyd-Warshall finds the distances between every pair of vertices at once. You can drag vertices to tidy the layout.