blampe/goat

Diagonal connection between nodes?

Ouverte

#29 ouverte le 5 juin 2024

 (1 commentaire) (0 réaction) (0 personne assignée)Go (52 forks)github user discovery
help wantedquestion

Métriques du dépôt

Stars
 (774 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur