d2format

package
v0.4.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2023 License: MPL-2.0 Imports: 3 Imported by: 15

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Format

func Format(n d2ast.Node) string

TODO: edges with shared path should be fmted as <rel>.(x -> y)

func KeyPath added in v0.2.0

func KeyPath(kp *d2ast.KeyPath) (ida []string)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL