Control-theory-like block diagram with the dot language

I'm working on a C++ project in the field of automatics I'd like to start documenting. I'd like to use Doxygen and have been wondering if it is possible to draw a block-diagram, like the one here: with the dot language.

Well, is it?

Thanks in advance for any hints.

Edge problems

I want to do something like the red mark in this pic. its possible? Thx

Edge Problems

i want to do something like the red mark in this pic. its possible? thx

avoiding complete edge overlap

Hi, I have looked at the documentation but could not find a way to instruct dot to avoid edge overlaps. I am aware that this is a difficult thing to do in general, but it seems it should be solvable in my case. You can see that in the graph pasted below, and run through dot, the two edges between nodes in clusters labeled "integartor" overlap completely. I can avoid this using ports but I need to regenerate this and similar graphs many times and in general I do not know the layout in advance... Thanks everyone for your time and help!

Help Implement Feature Into Graph - Folding / Collapsing

Hello, I have just built a graph using a python program that writes DOT. My graph is very wide right now and I would love the ability to collapse it. In order to do so I feel like all I would need to do is have it then when I click on a node it inserts "#" (comment out) in the DOT code and thus hides the nodes. Clicking on the single node would then remove the #. Right now when I click on a node it takes me to that node's URL (i.e, when I click on it takes me to so I know there is some kind of code that recognizes when a node has been clicked.

Subgraph attributes

The documentation gives a fair bit of information about nodes and their attributes. However the documentation about what one can do with subgraphs and clusters is pretty sparse. Is there a document somewhere that talks more about subgraphs?

Among other things, I'd like to control the sizing of my subgraphs and spacing between. Also I'd like to have a hyperlink (URL) for the entire subgraph (not just the nodes therein). Is this possible? If so how.

Any and all information would be greatly appreciated.

Jonny L.

convert a petri net in dot format to a graph in .g format

The tool uml2owfn converts activity diagram in xml format to petri net (digraph)in Graphviz dot format.The tool petrify synthesize petri nets in *.g format.How to convert the petri net from dot format to a graph in *.g format?

Labels of the nodes in the output of dot

Dear sir, Is it possible to change the labels of the nodes in output of dot. If yes how? thanks in advance. shijo

How to modify Graphviz to allow custom graph type?

Hello everyone,

I am pretty new to Graphviz but I think it's a great, easy to use tool for developing diagrams. However, for my purposes I will be developing the same kind of graphs (share same attributes and even some nodes) and I was wondering if there's a way to modify Graphviz to support my custom graph type. What I mean by this is that when creating a graph (as of right now), one has two options: graph or digraph. But I want to add "mygraph" as a third option supported by graphviz, so now a user has three available types of graphs: graph, digraph, and mygraph.

DOT file reader for java?


I'm looking for a way to read a DOT file into java and use the resulting graph structure programmatically. I can't seem to find something which can achieve that. Am i missing something?

The purpose of all this is to have a graph as "configuration" and not as actual code.

Thanks a lot

Recent comments

Syndicate content