d2svg

package
v0.0.13 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: MPL-2.0 Imports: 22 Imported by: 39

Documentation

Overview

d2svg implements an SVG renderer for d2 diagrams. The input is d2exporter's output

Index

Constants

View Source
const (
	MIN_ARROWHEAD_STROKE_WIDTH = 2
)

Variables

This section is empty.

Functions

func Render

func Render(diagram *d2target.Diagram) ([]byte, error)

TODO minify output at end

Types

This section is empty.

Jump to

Keyboard shortcuts

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