Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Graph vis app: Get node positions when exporting GML

Open
#69 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
javascript, python

Research direction

Start by reviewing the graph export path for GML and the Dash integration, then consult the linked Plotly Community Forum discussion about returning node positions. Investigate whether positions can be retrieved from Cytoscape.js after layout or dragging. Done means exported GML includes the dynamically generated node positions and the behavior is covered by an appropriate test.

Written by the indexing model from the issue text.

Description

enhancement

At the moment, there is no way to retrieve node positions dynamically generated by the layout (e.g. force layout, cose, etc) in Dash or by user dragging.

They are not stored in the Python graph object. They possibly can be retrieved from the JS using Cytoscape.js, however, this solution is not trivial.

Created a Plotly Community Forum post: https://community.plotly.com/t/dash-cytoscape-returning-node-positions-from-layout/23818/2

Dominant language
Python
Stars
34
Forks
5
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from BlueBrain/BlueGraph

All issues in BlueBrain/BlueGraph

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.