source can be found under /elm-codebase/svg/DemoGridToSvg.elm
Demo for grid graph
width: height:
probability:
Clicking "Draw!" generates a new grid. Clicking "Random Subgraph!" samples a subgraph of the existing graph.Thus, if you click it consecutively, your graph will be thinner and thinner.Clicking a vertex will mark its connected component orange.