Skip to content
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

Improve pedigree ranking/grouping/sorting #20

Closed
rhagenson opened this issue Nov 14, 2019 · 2 comments
Closed

Improve pedigree ranking/grouping/sorting #20

rhagenson opened this issue Nov 14, 2019 · 2 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@rhagenson
Copy link
Owner

Re-exploring a way to rank all of the same age the same. Rather than { rank=same; <label 1>, <label 2>, <label 3> } as I am using right now, I think a better way would be to create subgraphs (labeled based on age) containing all of a particular age then connect adjacent (with gaps) ages with invisible edges style = invis

This will have the effect of boxing all of the same age together and implicitly sets `rank="same``.

Another route is use of the group attribute where things in the same group are aligned on the perpendicular axis (i.e., LR alignment if rankdir="TB").

Originally posted by @rhagenson in #4 (comment)

@rhagenson
Copy link
Owner Author

I should likely try activating newrank=true which will make rank constraints take precedence over edge constraints.

newrank might also allow my intermediate plan which was the use of both an implicit rank=same via subgraphs based on age AND group=<string> for perhaps aligning on the perpendicular axis.

@rhagenson
Copy link
Owner Author

New rank was tried and decided to be kept as the default as it slightly improved the readability of the graph in testing. When grouping based on presumed lineage the result was not what I had hoped so this complicated behavior was not retained moving forward. Latest work this effect was ef7c251 but other than forcing older individuals to point toward younger individuals, there was not way to force more pedigree formatting constraints to improve the readability further.

@rhagenson rhagenson added the wontfix This will not be worked on label Dec 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

1 participant