You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like specifying pincolors in a connector will not accept (silently ignores) combination color codes for striped/banded colors.
Using the following:
Everything looks fine except the combo colors for pins are missing. Given that it's just a small square of color, this is likely just the way it is. Any chance of expanding the color square to a small rectangle to incorporate striped wires ? For example, RDYE could produce
This would be extremely helpful when building a harness to connect into existing connectors. You tag the existing connectors with the wire colors they have, and that provides a visual check when building the harness.
The text was updated successfully, but these errors were encountered:
You are right, it's currently designed for single colors only, and I admit this should have been stated more clearly in the documentation. It probably is possible to expand this feature to support color combinations like for wire colors, but in my quick and dirty trials today I got some ugly results, so more work is needed to find a simple way to produce a readable result within the limitations of Graphviz HTML.
If your motivation for suggesting this is to enable pin color marks that matches wire colors, then I would guess horizontal color stripes in a rectangle are wanted because that is the only multi-colored wires currently supported. The rectangle you suggest looks more like a wire with color bands that might be supported in the future, but #120 seems not close to finished yet. However, there might be other considerations to take to obtain readable pin color marks. What are your thoughts?
That sample rectangle was just a crop from a commercial wiring diagram (Haltech). It doesn't need to be any specific style, just indicate that the wire has two colors in it. Though it should be clear and easy to see the two colors - sometimes the horizontal color stripes are hard to determine.
For example, B-R Black-Red is easy to see here
P-G Pink-Green is a little harder to make out here
Perhaps a simple rectangle with two color blocks in it - by definition 1st is the main color and 2nd is the stripe color.
Looks like specifying pincolors in a connector will not accept (silently ignores) combination color codes for striped/banded colors.
Using the following:
results in this
Everything looks fine except the combo colors for pins are missing. Given that it's just a small square of color, this is likely just the way it is. Any chance of expanding the color square to a small rectangle to incorporate striped wires ? For example, RDYE could produce
This would be extremely helpful when building a harness to connect into existing connectors. You tag the existing connectors with the wire colors they have, and that provides a visual check when building the harness.
The text was updated successfully, but these errors were encountered: