Graphviz: How to go from .dot to a graph?

后端 未结 11 1485
傲寒
傲寒 2020-11-27 08:44

I can\'t seem to figure this out. I have a .dot file, which is valid according to the syntax. How do I use graphviz to convert this into an image?

(note that I\'m on

11条回答
  •  我在风中等你
    2020-11-27 09:39

    For window user, Please run complete command to convert *.dot file to png:

    C:\Program Files (x86)\Graphviz2.38\bin\dot.exe" -Tpng sampleTest.dot > sampletest.png.....
    

    I have found a bug in solgraph that it is utilizing older version of solidity-parser that does not seem to be intelligent enough to capture new enhancement done for solidity programming language itself e.g. emit keyword for Event

提交回复
热议问题