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

xend, yend not properly calculated with Kamada Kawai on tree structures #35

Open
achmurzy opened this issue Dec 8, 2018 · 2 comments
Open
Assignees
Labels

Comments

@achmurzy
Copy link

achmurzy commented Dec 8, 2018

I have a graph with a tree structure. Only Kamada Kawai reveals the rooted structure, but something seems to be preventing the nodes from connecting. In essence, the xend and yend properties are not being properly computed. I'm not sure if this is an issue with how I'm parameterizing the layout algorithm or styling the elements; however, the node placement looks good and it should be trivial for the algorithm to properly place the endpoint for edges. It isn't though, see below. This happens whether or not I provide edge weights to the layout algorithm

image

@achmurzy
Copy link
Author

achmurzy commented Dec 8, 2018

Again, I'm not sure if this is an actual bug or if there's a configuration step I'm missing but I'm looking for some insight. Can provide data and code if needed

@briatte
Copy link
Owner

briatte commented Jun 27, 2019

Hi @achmurzy

Thanks for reporting this, and sorry for answering earlier.

Yes, please do post your code. It seems like you are are trying to display arrows at the end of the edges, but those are not showing up.

@briatte briatte added this to the v0.5.6 milestone Jun 27, 2019
@briatte briatte self-assigned this Jul 26, 2019
@briatte briatte added the bug label Feb 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants