Source File
hub_spoke.go
Belonging Package
github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph
package layoutgraph// HubOrder returns hub sentinels in stable ID order.func ( *Graph) () []*Node {:= make([]*Node, 0, len(.Hubs))for := range .Hubs {= append(, )}sortNodesByID()return}
![]() |
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. |