-
Notifications
You must be signed in to change notification settings - Fork 233
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
How to create an alternating sides daisy chain without templates? #209
Comments
The documentation has a link to a page describing the anchor consept in general YAML files. I recommend reading that page. That consept is useful when several connectors or cables share a set of common attribute values. |
That is very helpful for the template syntax, but it does not mention the details of the << signifier. |
Please search for "Extend" in that same page, and you'll find several examples using << to inherit from a template and then extend with other attributes. |
Thanks. That is helpful, but in that case, what causes the zig-zagging in the zig zag example to happen? Is it triggered by the use of templates? |
Zig-zagging and templates are completely unrelated. Regarding zig-zagging: Each individual connection set is interpreted as going from left to right. Look at the source code for Example 06: Since
Expand for longer but potentially confusing answerThe GraphViz backend that WireViz relies on tries to keep the number of hierarchies/"columns" in which elements are arranged to a minimum.
The actual arrangement of the nodes is handled by the GraphViz backend, so there might be cases where the visual output is not exactly what you expect, especially in more complex layouts. Unfortunately, currently there's not much WireViz can do about these cases. Regarding templates, please note that these will not be required for most cases once #186 is finished and merged. |
Thanks very much. |
The "alternating sides" daisy chain example also introduces a template syntax which is rather confusing as I'm not sure how to use one without the other. It seems to involve a "<<" member of the dict but it is not clear if this has to be on the connector, the wire, both, or what. Could the documentation on this be clarified?
The text was updated successfully, but these errors were encountered: