Pass multiple solidity files
whiskyfrenzy opened this issue · 2 comments
It seems that this enhancement has been implemented through #22.
However, I can't figure out how to run solgraph to graph multiple .sol files and output a png file with all the functions in all the contracts mapped.
Some guidance or documentation in README would be greatly appreciated. Thanks!
Yes, I can see how that is a bit confusing.
Despite #22, solgraph does not support multiple files. You can see only a single file gets read in and passed to solparser
:
Line 48 in d3e6f43
As a workaround, you may be able to copy all source code into a single solidity file and pass it to solgraph. It would be nice if you could pass it a glob for multiple input files.
I see, that's alright. It's a wonderful tool for visualisation, most of the time I can just "cat * > final.sol", remove a few lines and solgraph works. Thanks!