README
Solidity Visualizer
This is a solidity-visualizer which visualizes relationship of Inheritances and Uses between Solidity Smart Contracts.
Install
$ npm install -g solidity-visualizer
Usage
$ solvis <your truffle project root path> <solidity file's relative path from truffle project root >
Example1
$ solvis test/project/TGCrowdsale contracts/TGCrowdsale.sol
Example2
$ solvis test/project/TGCrowdsale node_modules/openzeppelin-solidity/contracts/crowdsale/validation/CappedCrowdsale.sol
Report
You can see a sample report. Please open "sample_report/TGCrowdsale_20180730120438.html" in browser.
Note
- solidity-visualizer supports only truffle project format.
- Please open this report file on Chrome or Firefox, or diagram may not appear.
License
MIT