TMyClass->TMyOtherClass.Method1(param. definitions) // call method without return
TMyClass<-TMyOtherClass.Method1(param. definitions) // return method
TMyClass<->TMyOtherClass.Method1(param. definitions) // call method with return
TMyClass->TMyOtherClass.Create(param. definitions) // create an instance
...
etc.
but you has made something about this.
Best regards.
]]>This version has some avantages:
1. No installation needed: just initialize the COM library, then use the COM interface;
2. Generates emf (i.e. metafiles) files, so you can draw them using GDI, or directly using GDI+ using our SynGdiPlus unit.
But I discovered some problems:
1. Vectorial files problems (background layout not transparent, wrong character placement...);
2. There is a resource leak in the dll (if you create a lot of diagrams, you'll have to quit and relaunch SynProject);
3. Code not maintained since years (therefore it didn't involve with the product);
4. Code difficult to compile again.
But it does it work for our purpose.
So yes, Graphviz auto-layout feature works very well, and you can get the rendering in the "plain text output format" if you want. You can try to parse it and render it in Delphi code.
We use Graphiviz in Synproject to produce:
a) classes hierarchy and units dependencies directly from source code of the project;
b) diagrams for the documentation, written as text in the documentation wiki format itself.
I noticed in the description of SynProject you mentioned, Graphiviz, did you port it to Delphi? That'll be wonderful if you did! If yes, where I can get that part of code? Thanks in advance!]
BTW, you did great jobs!
]]>