OpenFreeEnergy / OpenFreeEnergy/openfe

Network Visualization: Improve performance of dragging

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

Nobody has claimed this yet.

Dominant language
Python
Stars
331
Forks
56
Avg merge
3d 9h
Merged PRs (30d)
13

Description

Dragging performance is not good, especially in the notebook backend. A few simple tricks to try:

  1. Blitting. This should make a significant difference.
  2. Cache the edges for the node on mousedown. This is currently being calculated during the drag, and doesn't need to be.

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.

Research direction

No file or test is named. Locate the network visualization drag handler and the notebook backend, then inspect how edge data is calculated during mousedown and drag. Done means dragging is measurably smoother using blitting and cached node edges, without changing visualization behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data-visualization
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.