Source File
icon.go
Belonging Package
github.com/pancsta/d2/d2layouts/d2talalayout/internal/layoutgraph
package layoutgraphimport// Icon is the icon-placement state attached to a layout node.type Icon struct {Position label.PositionpositionFixed bool}// PositionFixed reports whether Position was supplied by the caller and must// be preserved by automatic icon placement.func ( *Icon) () bool {return .positionFixed}// FixPosition marks Position as supplied by the caller.func ( *Icon) () {.positionFixed = true}
![]() |
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. |