Configure minimum space between nodes in dynamic graphs - #1792
Merged
david-yz-liu merged 4 commits intoAug 9, 2026
Conversation
Coverage Report for CI Build 0Coverage increased (+0.007%) to 58.602%Details
Uncovered ChangesNo uncovered changes found. Coverage RegressionsNo coverage regressions found. Coverage Stats
💛 - Coveralls |
r-weng
marked this pull request as draft
August 8, 2026 20:50
Contributor
Author
|
Drafting because I just noticed the MAT137 to |
Contributor
Author
r-weng
marked this pull request as ready for review
August 9, 2026 01:17
david-yz-liu
approved these changes
Aug 9, 2026
Contributor
|
Thanks @r-weng! I appreciate the investigation into this, and I do think the graph looks a bit nicer with the minimum |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Proposed Changes
This pull request uses
nodesepto configure minimum space between nodes in dynamic graphs.This doesn't entirely fix the arrowhead issue I mentioned a few presentations ago (where some arrowheads do not appear properly connected to their respective dotted lines due to the lack of an additional line segment), but it mitigates it. See screenshots below, and notice how (1) the arrow from MAT148H1 to the
andnode and (2) the arrow from MAT158H1 to theandnode change....
Screenshots of your changes (if applicable)
Type of Change
(Write an
Xor a brief description next to the type or types that best describe your changes.)Checklist
(Complete each of the following items for your pull request. Indicate that you have completed an item by changing the
[ ]into a[x]in the raw text, or by clicking on the checkbox in the rendered description on GitHub.)Before opening your pull request:
After opening your pull request:
Questions and Comments
I tried playing around with other
splinesconfigurations (as listed in the link below), which allow edges to be diagonal or rounded. This fixed the arrowhead issue, but the existing configuration,ortho, looked the cleanest and most consistent with the main graph, especially as the number of nodes and edges increased.https://graphviz.org/docs/attrs/splines/
I also was not able to use dot attributes to set coordinates for the graph (I don't think it's possible).