Closed EdsonAlcala closed 3 years ago
IMHO there should be a way to export this to be able to share. @EdsonAlcala Do you have any suggestions for that?
that would be very cool, maybe some way to export to pdf? or image? Or maybe a shareable link? For instance this one http://www.nomnoml.com/ it is like a viewer, you can paste code and view the diagram
Solidity to UML Remix Plugin
Background
UML diagrams are visual representations of a system, it helps to better understand its functionality and component's relationship.
There is previous work to generate UML diagrams from Solidity and it was integrated into Etherscan (see image below)
Image source: https://etherscan.io/viewsvg?t=1&a=0x89d24a6b4ccb1b6faa2625fe562bdd9a23260359
Proposal
Design
Note: The UML diagram style could change due to sol2UML dependencies compatibility in the browser.
Resources / References
[Sol2UML] (https://github.com/naddison36/sol2uml) [Solidity-parser-antlr] (https://github.com/ConsenSys/solidity-parser-antlr)