-
Notifications
You must be signed in to change notification settings - Fork 229
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
[feature] Single wire cable drawn without table #376
Comments
@kvid I noticed that you discussed some similar idea with @formatc1702 a few years back in #31. Do you have any updates on the topic?
Taking the picture by @SnowMB as an example from this:
|
See also #225 (comment) where @formatc1702 strongly considers consolidating the optional Maybe this issue is an extra argument for such a consolidation? |
I like the idea of consolidating. If connector |
style: simple
@martinrieder wrote:
When consolidating, we might end up with allowing more than one value for the same connector/cable, |
I went through the list of Graphviz attributes and found that I cannot think of an example for |
Maybe just stick with |
Okay, what is the default category called then? Would it be defined as I suggest the following categories
Twisted pairs could have either sheathing and/or shielding. Coaxial cable would normally have both. Even single wires are sometimes shielded, though this comes close to the definition of a coaxial cable then. Please also see #353 (comment) where I suggested a My intention with this issue is only to add some way to display simple cables with a single conductor/wire. You may therefore consider my question above only hypothetical. ;-) |
For this kind of cable, wire count and number are implicitly hidden. In the same way, I would omit the color label by default. Having it explicitly displayed would require adding In #155 (comment), I suggested adding EDIT: also compare #286 (comment) |
After what I wrote in #331 (comment), I decided to use the term wire instead of conductor for the single-core cable.
In my PR #405, I decided to first implement both, so |
The following example brings up an interesting (and quite common?) use case for cables containing only a single wire. Similar to the way that connectors can be defined with
style: simple
, I suggest to implement cables with this attribute. They would be displayed without a box and should optionally show the wire name/label.Credits to @EloiVilalta in #293 (comment)
The issue with the current implementation is that it requires a lot of space in the graph due to the HTML table. This is not needed for only displaying the label/name as a text.
This would allow for the same principle as virtual splices to be applied to wires instead of connectors. It enables simplified layouts and possibly also grouping of wires into clusters. The latter enforces some structure, but leaves the order of the wires up to the Graphviz engine.
@kvid in #270 (comment)
This suggestion also complements #268 (comment), which refers to an example provided by @Halfwalker, who called this feature compact_view.
Similar arrangements should be produced for wires being grouped into a cluster. Splicing a wire in a similar fashion should also be possible.
The text was updated successfully, but these errors were encountered: