A directed graph of the relation in the Advent of Code 2024 day 5 puzzle



This is a directed graph of the relation the Advent of Code 2024 day 5 puzzle as described in this post.  Here the graph of the relation vertices are colored with equally spaced colors from the "Labwheel" colormap and every edge is colored by its origin vertex.  A couple other graph drawing options are specified with the stylesheet option:

GraphTheory:-DrawGraph(G, size=[1800,1800],
    stylesheet=[edgethickness=0.5, arrowsize=4, arrowpos=0., 
                vertexfontsize=12, vertexpadding=4],
    background="#555");

 


Please Wait...