blampe/goat

Diagonal connection between nodes?

Aberta

#29 aberto em 5 de jun. de 2024

 (1 comentário) (0 reação) (0 responsável)Go (52 forks)github user discovery
help wantedquestion

Métricas do repositório

Stars
 (774 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

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.

Guia do colaborador