- Class diagrams are now under a class subcommand.
sol2uml class - New storage subcommand to draw the storage slots of a contract.
sol2uml storage - New flatten subcommand that downloads the verified source code from Etherscan to a local Solidity file.
sol2uml flatten
-d --depthLimitto-sf --subfolders-a --hideAttributesto-hv --hideVariables-p --hideOperationsto-hf --hideFunctions-e, --hideEnumsto-he, --hideEnums-s, --hideStructsto-hs, --hideStructs-l, --hideLibrariesto-hl, --hideLibraries-t, --hideInterfacesto-hi, --hideInterfaces-r, --hideInternalsto-hp, --hidePrivates
- Added
-d --depthto limit the depth of contracts connected to the base contracts. - Added
-ha --hideAbstractto hide all abstract contracts. - Added
-hn, --hideFilenameto hide the relative filename of a contract.
- Improved linkages of classes when there are duplicate contract names, explicit imports and import aliases.
- If a contract or library contains a struct, it is marked as an aggregate association. A separate dependency line is used to link a contract to a struct. This can be a storage (solid line) or memory (dashed line) dependency.
- Structs in libraries are now linked to their dependent contract.