-
Notifications
You must be signed in to change notification settings - Fork 54
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
getNodePositions return incorrect positions #9
Comments
Stukova
added a commit
to simCecca/cosmos
that referenced
this issue
Oct 11, 2022
+ getNodePositions, getNodePositionsMap minor tweak cosmograph-org#9
rokotyan
added a commit
that referenced
this issue
Oct 11, 2022
Issue #9 - Get positions returned correct positions, but associated with wrong ids
@simCecca Thanks for reporting this and for creating a Pull Request! I'm going to release a new version soon. |
Version 1.1.1 containing this fix has been released and is available on NPM. Release notes: https://github.com/cosmograph-org/cosmos/releases/tag/1.1.1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I call the getNodePositions function, node positions are returned inconsistently with the visualization.
As an example, I took the coordinates and displayed them in Cytoscape, and as you can see, nodes have the same shape, but the ids are in different positions.
Taking the coordinates that the method returns and drawing them on paper, it comes something similar to Cytoscape.
It looks as if the mapping returned by the method returns the correct positions, but reverses the node ids
The text was updated successfully, but these errors were encountered: