package d2format
Import Path
github.com/pancsta/d2/d2format (on go.dev)
Dependency Relation
imports 4 packages, and imported by 4 packages
Package-Level Functions (total 3)
TODO: edges with shared path should be fmted as <rel>.(x -> y)
FormatKeyPath formats the scalar values in a as a canonical key path, like
Format(d2ast.MakeKeyPathString(a)), without building a temporary key path AST.
Quoting in the input nodes is intentionally ignored, just as in MakeKeyPathString.
![]() |
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. |