scottrogowski / code2flow

Pretty good call graphs for dynamic languages
MIT License
4.01k stars 296 forks source link

arrows cross eachother / order of routines #63

Closed rcsmit closed 2 years ago

rcsmit commented 2 years ago

Why do the arrows cross each other? (show_warmingstrips / find_date_for_title) What makes the order of the routine? In a closed issue is written that it's an alphabetic order but I dont see that.

image

https://github.com/rcsmit/streamlit_scripts/blob/main/show_knmi.py

scottrogowski commented 2 years ago

It's just what Graphviz does and doesn't have anything to do with code2flow's output. I've been working on a more interactive version of code2flow in my spare time which uses a different layout engine and may accidentally solve this. But for now, it's a Graphviz thing.