Option to not let arrow heads change the whole course of a curved connector

Aperta
#5,819 2 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@alderg ci sta già lavorando.

Dal 25/10/2026.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
javascript
Ambito
frontend

Direzione di ricerca

No files are named in the issue. Start by reading the connector/edge rendering code in the JavaScript client to see how arrow heads modify curve geometry. Done means a new toggle keeps the curve unchanged while showing the arrow head.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement
  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
I want to have a nice symmetric curved line between two objects. This can be done exactly as I want by using the straight waypoints settings and then moving the point in the middle (with curved linestyle).
And as long as both sides don't have any arrow head, this looks perfect and symmetrical:

Image

However, if an arrow head is activated, this changes the course of the entire connector, and not just the ending:

Image

I do understand that this can be a feature, especially for very large arrow heads. But in most cases, I personally want the line to stay the same, and just an arrow head to be placed at the end. Specifically, I want the line to be exactly horizontally in the middle, which it currently isn't.

Describe the solution you'd like
There should be an option / toggle to set that the arrow head doesn't alter the course of the curve itself (for a curved linestyle, otherwise it generally doesn't do this afaik).

Describe alternatives you've considered
I thought about trying to just place a minimal additional line with an arrow head, but this is a very ugly hack and also doesn't really work well. Therefore, there is currently no real possibility to get the desired behaviour.

Lingua principale
JavaScript
Stelle
9.4k
Fork
1.4k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di jgraph/drawio

Tutte le issue di jgraph/drawio

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.