How could I see or get the intermediate dot file or string (the contents with the grammar of dot language)?

+1 vote
asked Sep 29, 2014 in To be sorted by MatthewLiu (160 points)

Dear All,

I just start using PlantUML for a few days. It is a really cool tool. 

Regarding the workflow of plantUML in implementation, I guess it translate manual-code (in PlantUML Language) to intermediate code (Dot Language), then use Graphviz/DOT tool to generate the great UML diagram.

 Now I am very interested in the intermediate language - file or string or contents in buffer in DOT grammar. Could anyone please tell me how to easily get the intermediate code (in dot grammar)?  Now I have downloaded all the source code. 

Take an example, when I type the following PlantUML code

@startuml:

Bob->Alice : hello

@enduml

how could I easily get or generate the intermediate code (file/string/buffer in dot grammar)?  If I get the intermediate code, I would try to generate the cool UML diagram using DOT command (my purpose is to see how the intermediate code looks like, it could generate so cool diagram).

I have debuged the sourcecode for a while, but it seems no answers is found.

Any advice or help is highly appreciated. Thanks!

Best Regards,

Matthew 

 

 

 

1 Answer

+1 vote
answered Oct 5, 2023 by saman (200 points)
...