Documentation ¶
Index ¶
- Constants
- Variables
- func AnimatePNGs(ms *xmain.State, pngs [][]byte, animIntervalMs int) ([]byte, error)
- func ConvertSVG(ms *xmain.State, page playwright.Page, svg []byte) ([]byte, error)
- func LayoutResolver(ctx context.Context, ms *xmain.State, plugins []d2plugin.Plugin) func(engine string) (d2graph.LayoutGraph, error)
- func RouterResolver(ctx context.Context, ms *xmain.State, plugins []d2plugin.Plugin) func(engine string) (d2graph.RouteEdges, error)
- func Run(ctx context.Context, ms *xmain.State) (err error)
- func Write(ms *xmain.State, path string, out []byte) error
Constants ¶
View Source
const GIF exportExtension = ".gif"
View Source
const LAYERS = "layers"
View Source
const PDF exportExtension = ".pdf"
View Source
const PNG exportExtension = ".png"
View Source
const PPTX exportExtension = ".pptx"
View Source
const SCENARIOS = "scenarios"
View Source
const STEPS = "steps"
View Source
const SVG exportExtension = ".svg"
Variables ¶
Functions ¶
func AnimatePNGs ¶ added in v0.6.2
func ConvertSVG ¶ added in v0.6.2
func LayoutResolver ¶ added in v0.6.0
func RouterResolver ¶ added in v0.6.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.