WireViz: Tool for documenting cables, wiring harnesses and connector pinouts
github.com
github.com
If you are looking for feature requests :)
Twisted pairs
Ability to add cable braid to cable sections
Ability to add heatshrink to connector backshells
Ability to specify labels
I had a quick look at the code, looks nice and clean, I might have a go at one of the easier ones (like labels) a bit liater this week.edit: formatting
I see wireviz is defined using yaml and builds on graphviz. I’ve always wanted to do more with graphviz but reluctant to use the [dot language][0] graphviz uses by default.
but honestly just write dot, it's a simple format
Still, from a programmatic standpoint is there JSON equivalent? If wanted to build something like WireViz I would think that would be the most strait forward approach. I know there are lots of libs that compose it with mixes classes but I rather just build json objects...
(found this here https://stackoverflow.com/a/51443514)
I'm pretty sure that there's some tool out there to convert Graphviz's own json format back to dot
Perhaps https://github.com/jsongraph/jgf-dot do it
And if not, https://codefreezr.github.io/awesome-graphviz/#generators-an... might contain something useful
Branch lengths and locations, where individual connectors branch off the main trunk of the harness.
Terminal types, because a single connector sometimes has different terminals per pin position, or per wire type, or other requirements.
Custom wire colors and gauges; multiconductor cables aren't always all the same gauge.
Inline splices (these may be implementable as a special case of a connector where most wires just pass through and just a few join on one "pin"?).
Is there a WYSIWYG or live-updating editor so you can see the result as you edit the markup? I understand why it's written that way, but it'd be a lot of work to translate certain harnesses to be expressed that way.
I don't think I've ever seen diagrams like these from GraphViz. I've spent the last couple of days trying to structure some complicated data for it to format to nicely, and I can't make it sing or dance nearly as well.
Would love to see pdf export for standalone documentation generation