Documentation ¶
Overview ¶
d2svg implements an SVG renderer for d2 diagrams. The input is d2exporter's output
Index ¶
Constants ¶
View Source
const ( DEFAULT_PADDING = 100 MIN_ARROWHEAD_STROKE_WIDTH = 2 )
View Source
const DEFAULT_THEME int64 = 0
Variables ¶
View Source
var DEFAULT_DARK_THEME *int64 = nil // no theme selected
View Source
var LinkIcon string
View Source
var TooltipIcon string
Functions ¶
func RenderText ¶ added in v0.1.4
Types ¶
type DiagramObject ¶ added in v0.1.0
Click to show internal directories.
Click to hide internal directories.