https://howtoci.blogspot.com/2023/09/how-to-linearize-graph.html
How To Linearize A Graph