naddison36 / sol2uml

Solidity contract visualisation tool
MIT License
1.15k stars 273 forks source link

Output format argument 'all' does not produce dot file #154

Closed sambacha closed 1 year ago

sambacha commented 1 year ago

running

sol2uml class ./contracts/ -f all -v

only gives a png and svg file.

 sol2uml class ./contracts/ -f dot -v

the logs show that:

sol2uml About to write Dot file to /Users/janitor/mev-proxy/classDiagram.svg +0ms
sol2uml About to convert dot to SVG +0ms
sol2uml About to write SVN file to /Users/janitor/mev-proxy/classDiagram.svg +62ms

Additionally SVN I think is meant to be SVG?

while running explicitly

sol2uml About to write Dot file to /Users/janitor/mev-proxy/classDiagram.dot +0ms
sol2uml Finished generating UML +143ms
Dot file written to /Users/janitor/mev-proxy/classDiagram.dot

Also I think the parser may not be able to handle comments with emojis, but that is a separate issue potentially not sure yet if that is the issue I had earlier

naddison36 commented 1 year ago

Thanks for reporting. This should be fixed in https://github.com/naddison36/sol2uml/releases/tag/v2.5.10