Networks and graphs
A framework for creating graphs and networks in Snap!. Place nodes and connect them. Labels are placed automatically. Use the arrow keys to hide and show labels and edges. Afterwards, hovering over connected nodes will highlight their neighbors. Edges that connect nodes know how long they are. Nodes know what edges they touch and can report the shortest one. Nodes also know which node they are closest (and connected!) to. Nodes can be addressed via the node ( )-block. See object "examples" for examples. Includes depth-first and width-first searches!
Created April 4, 2019
Last updated October 13, 2024
Published August 27, 2019