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

Infer nesting on load broken #656

Open
ugurdogrusoz opened this issue Apr 5, 2021 · 2 comments
Open

Infer nesting on load broken #656

ugurdogrusoz opened this issue Apr 5, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@ugurdogrusoz
Copy link
Contributor

Both the public and the daily build is broken. Nodes inside compartments gets placed in weird location when nesting is infered.

@ugurdogrusoz ugurdogrusoz added the bug Something isn't working label Apr 5, 2021
@hasanbalci
Copy link
Contributor

SBGNViz.js processes the nodes in the order in which they are on the input file. It seems that the problem occurs when a node is processed (and so given to cytoscape.js) before its compartment. This may be a cytoscape.js related issue (that exists in the version we use), because it reminds me a similar issue cytoscape/cytoscape.js#2802 that is related with the processing order of the elements. When all nodes are processed after their compartments, then input file is loaded correctly. I'll investigate the problem in detail and try to find an easy fix.

@ugurdogrusoz
Copy link
Contributor Author

Let's revisit this at a later point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants