blampe/goat

Diagonal connection between nodes?

开放

#29 创建于 2024年6月5日

 (1 条评论) (0 个反应) (0 位负责人)Go (52 个派生)github user discovery
help wantedquestion

仓库指标

星标
 (774 个星标)
PR 合并指标
 (30 天内没有已合并 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.

贡献者指南