jgraph / jgraph/drawio

Limit radius in which objects are considered to alignment

Open
#103 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
8.2k
Forks
1.2k
PR merge metrics
No merged PRs in 30d

Description

If I have a very large diagram with many objects, it seems like draw.io is considering every object in the diagram for alignment of the current object (i.e. the blue guides may appear to align the current object with one that is perhaps 20 or 30 elements away, so it not even in view on my screen). It would be useful to limit the objects considered for alignment to some local area around the current object, since most often I need to align the object locally to some nearby object, rather than one that is very far away in the diagram.

Contributor guide

No contributing guide indexed for this repository

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

The issue names no files, tests, or entry points. Start by locating the client-side alignment-guide logic and reproduce the behavior with a large diagram containing distant objects. Done means alignment considers only objects within a defined local area around the current object, with nearby alignment still working.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
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.