blampe/goat

Diagonal connection between nodes?

Open

#29 opened on Jun 5, 2024

 (1 comment) (0 reactions) (0 assignees)Go (52 forks)github user discovery
help wantedquestion

Repository metrics

Stars
 (774 stars)
PR merge metrics
 (No merged PRs in 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.

Contributor guide