// Graph Algorithm Sandbox
// Write your own algorithm and visualize
it on the canvas!
// Available API:
// highlightNode(nodeId, color?) β lights
up a node
// highlightEdge(src, tgt, color?) β lights
up an edge
// log(message) β adds a message to the
timeline
// updateNodeLabel(nodeId, label) β changes
node text