You also add nodes and edges to static graphs. Below we graph the nodes then add (sg_add_edges) at random intervals (0.5 to 2 seconds between each edge added). We also stop the layout algorithm after all edges have been aded (+ 100 milliseconds to make sure it stops when all edges are plotted).

Add edges

You can also show helpful text as elements appear on the graph. Let’s add somewhat random dates to our example to simulate edges being added over the course of 25 days.

Add edges

You can also drop nodes or edges with sg_drop_edges and sg_drop_nodes, same principles, I’ll let you explore the examples.