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

Add support for custom ranking function #292

Closed

Conversation

richardwestenra
Copy link

This adds an option for g.graph().ranker to be a custom ranking function and makes rank a node attribute. Since edges between nodes with the same (manually determined) rank become possible, it also adds a function for counting crossings within a single layer.

Hopefully this PR resolves #289.

This PR is admittedly a duplicate/clone of #270. I'm not sure why that PR was closed as it's a useful feature, and one on which my project depends. As I'm not able to reopen that PR, I've created a new one.

Anya and others added 3 commits June 27, 2019 18:00
@richardwestenra
Copy link
Author

Closing as I just realised that #270 was closed because it was superseded by #271, which is still open.

@richardwestenra richardwestenra deleted the manual-ranking branch March 24, 2020 12:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Is there a way to supply a custom ranker or fix the layout in the rank axis?
1 participant