HAL visualization with GraphViz

More
11 months 3 weeks ago #338152 by jtrantow
I have extended the python code mentioned in forum.linuxcnc.org/24-hal-components/145...with-graphviz#325079 in github.com/JTrantow/LCNC_HAL_to_graphviz

With these changes I can use it to get 99% of the graphviz I use to document my configurations. 

The attached CompleteConfig.svg is an example I whipped up today to help a friend setup a spindle VFD and external estop switch.

Using an online graphvix editor, I can quickly delete the subgraphs and signals that were cluttering up the spindle VFD and estop we were working on. See attached VFDandEStop.svg.

See the readme.md in github for further detail. I have run this on multiple configurations without issue. When your config is divided into multiple files, it's relatively easy to only load the portions you want to document.

When I tried to attach individual .svg files it complains about "Unable to get properties for the image."???
 

Attachment not found

Please Log in to join the conversation.

More
11 months 2 weeks ago #338243 by andypugh
I couldn't attach the SVG files either. But I have attached bitmap reviews so that folk can understand what GraphViz is. 

Attachment not found

Attachment not found

Please Log in to join the conversation.

More
11 months 2 weeks ago #338277 by jtrantow
Thanks for the svg -> bitmap conversion into the thread. When I get a chance, I will try running a script to process all the sim configs.

Please Log in to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum