-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generate dot file #73
Comments
Doxygen could generate this potentially from the C++ code. |
Do you mean the dot for class diagram or the dot for nodes described using UHDM? For visualization of hardware it is much better to use ELK as it can generate much better layered graphs. e.g. I am using it in d3-hwschematic |
Interesting, I didn't know about ELK. That looks indeed very nice! |
adaptagrams can do the same thing and it may better for your project as it is C++. |
First experiment: directly generating a graphiz output of the hierarchy as described in the yaml files without too much tweaking does not result in an overly useful output yet. |
I created another dot file with the current model; Color coded The amount of objects and the way graphviz auto-renders the edges makes it look a bit messy; ideally the edges would just be rendered with a 'bar connect' Here is a PNG of that. To see any details, you'd have to open it in a separate tab possibly. Easier to look at as SVG (but github doesn't allow to upload as attachment, hence zipped): below attached two versions of this and a horizontal version (nicer to read, but requires more horizontal scrolling) as SVG. |
Low prio.
Nice to have: since we know all the dependencies, we can also generate a dot-file to create a gigantic graph using graphviz. We can use that when visualizing or explaining things.
Typically straight-forward to generate (emit all the nodes and edges, the rest happens automatically), but not clear how useful it would be though, large graphs tend to be ... large.
The text was updated successfully, but these errors were encountered: