HAL visualization with GraphViz
- jtrantow
- Offline
- Premium Member
-
Less
More
- Posts: 130
- Thank you received: 19
10 Nov 2025 19:26 - 10 Nov 2025 19:32 #338152
by jtrantow
HAL visualization with GraphViz was created 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."???
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."???
Attachments:
Last edit: 10 Nov 2025 19:32 by jtrantow.
Please Log in or Create an account to join the conversation.
Time to create page: 0.126 seconds