blampe/goat

Diagonal connection between nodes?

オープン

#29 opened on 2024/06/05

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)Go (52 件のフォーク)github user discovery
help wantedquestion

Repository metrics

Stars
 (774 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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.

コントリビューターガイド