package loops
Import Path
github.com/pancsta/d2/d2layouts/d2talalayout/internal/loops (on go.dev)
Dependency Relation
imports 5 packages, and imported by 2 packages
Involved Source Files
Package loops computes deterministic self-edge routes and the node extents
those routes reserve during placement.
geometry.go
loops.go
Package-Level Functions (total 3)
ComputeOffsets refreshes loop extents for every graph node.
Route computes every self-edge route for node.
UpdateOffsets refreshes the space reserved around node for self-edge routes.
![]() |
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |