Closed SJaffa closed 1 year ago
Aha figured it out, you just give the name of the output file a .dot
extension. This isn't very clear from your docs, might be worth adding an example. E.g.
To generate the call graph image:
code2flow --output ../call_graph.png --language py <files and folders>
or to generate the dot file:
code2flow --output ../call_graph.dot --language py <files and folders>
That's what i'm looking for.
I am working with a big mess of Python code that used a lot of
async
functions and locks so in the call graph many functions show up as calling only thelocked_exec
and not the function they are actually calling, and those functions in turn appear to be called by nothing. Is there a way to getcode2flow
to output it's results as a dot file and I can manually reconnect those missed function calls before it generates the image of the call chart?