Is there a way to achieve this in pydot? Take the following example: [Outputted Dot File] strict graph g{ "A" -> "B"; "B" -> "C"; "C" -> "D"; "D" -> "E"; } [Python] print(num.start) >>> A print(num.steps) >>> ["a,b","b,c","c,d","d,e"] print(num.end) >>> E or with the following case: [Outputted Dot File] strict graph g{ "A" -> "B"; "B" -> "C"; "C" -> "A"; } [Python] if num["A"] == num.loop: print("[%s] loop detected")%(num["A"]) Continue reading...