import "oss.terrastruct.com/d2/d2format"
escape.go format.go
func Format(n d2ast.Node) string
TODO: edges with shared path should be fmted as <rel>.(x -> y)
func KeyPath(kp *d2ast.KeyPath) (ida []string)