Skip to content
This repository has been archived by the owner on Nov 26, 2023. It is now read-only.

How to generate image of call graph #4

Closed
danielsnider opened this issue Apr 24, 2021 · 1 comment
Closed

How to generate image of call graph #4

danielsnider opened this issue Apr 24, 2021 · 1 comment

Comments

@danielsnider
Copy link

danielsnider commented Apr 24, 2021

Hi Vitalis,

Great work! How can a PNG or JPG or SVG of the call graph be created? This would be very helpful in your README.

Thanks a lot for sharing your tool.

@vitsalis
Copy link
Owner

vitsalis commented Jul 19, 2021

[Sorry for the late reply, this issue has slipped by]

Currently, PyCG only outputs JSON so that the output can be further processed by other tools. Even though no specific tool that does that comes to mind, I believe converting the JSON call graph into the dot format can be straightforward.

@vitsalis vitsalis closed this as completed Jan 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants