Open egradman opened 2 years ago
Browsing through the issues list, I noticed that this might be a duplicate of #25 and #134. Are these resolved by PR #186?
@martinrieder wrote:
Browsing through the issues list, I noticed that this might be a duplicate of #25 and #134. Are these resolved by PR #186?
Thank's for trying to reduce the number of open issues by identifying duplicates. However, this issue seems, IMHO, to be quite independent from the others you mention.
@egradman seems only to request a syntax that allows connector/cable entries embedded in connection entries to enable a slightly more compact YAML input, without any enhanced functionally besides that. Maybe the title is a bit misleading?
I believe other changes of the connections
syntax that enhances functionality has been given higher priority, but later, when the syntax has matured a bit, this issue, or a variation of it, might be considered.
Thanks for the clarification. I really did not see that this issue is about the syntax. The suggested change only seems reasonable in such small examples. I do not see how this would improve either file size or readability.
Please see https://github.com/wireviz/WireViz/issues/224#issuecomment-2146398473 about some more detailed reasons. IMHO the YAML list should be used only for referencing on predefined designators.
It would be very helpful to be able to inline a connector or a cable into a connection!
(this implies an ordering on the cable of
[1-3]
)