-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add Revision Graph option to fan out all children lanes directly at parent #11327
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
Conversation
{ | ||
public readonly bool MergeGraphLanesHavingCommonParent; | ||
|
||
public RevisionGraphConfig() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you plan to add more properties here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, I want to add another two independent options here and in AppSettings:
- "Render graph with diagonals"
- "Straighten graph diagonals"
and a derived one here:
ReduceGraphCrossings
in the third commit of this PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any automated we could add?
f3fff3f
to
e24e622
Compare
e24e622
to
d1e0e1e
Compare
Proposed changes
readonly struct RevisionGraphConfig
in order to not change settings during graph renderingreadonly ref struct RevisionGrid.Graph.Rendering.Context
in order to reduce the number of arguments to passRevisionGraphRevision.ParentCount
in order to avoid enumeration ofConcurrentQueue
Screenshots
Test methodology
Please do not squash merge!
✒️ I contribute this code under The Developer Certificate of Origin.