blampe/goat

Diagonal connection between nodes?

Aperta

#29 aperta il 5 giu 2024

 (1 commento) (0 reazioni) (0 assegnatari)Go (52 fork)github user discovery
help wantedquestion

Metriche repository

Star
 (774 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

I have four nodes arranged in a square like so:

 .---.   .---.
| CTR +-+ WBK |
 '-+-'   '-+-'
   |       |
 .-+-.   .-+-.
| HWD +-+ SDO |
 '---'   '---'

I'd like to diagonally connect the HWD and WBK nodes from their nearest corners, but haven't found a good solution. Most come out mishapen or connect the sides of the nodes rather than their corners. Any ideas? The horizontal and vertical space between nodes can be increased if that makes it any easier.

Guida contributor