package d2sketch

Import Path
	oss.terrastruct.com/d2/d2renderers/d2sketch (on go.dev)

Dependency Relation
	imports 14 packages, and imported by one package

Involved Source Files sketch.go
Package-Level Functions (total 12)
func ArrowheadJS(r jsrunner.JSRunner, arrowhead d2target.Arrowhead, stroke string, strokeWidth int) (arrowJS, extraJS string)
func Arrowheads(r jsrunner.JSRunner, connection d2target.Connection, srcAdj, dstAdj *geo.Point) (string, error)
func Connection(r jsrunner.JSRunner, connection d2target.Connection, path, attrs string) (string, error)
DefineFillPatterns adds reusable patterns that are overlayed on shapes with fill. This gives it a subtle streaky effect that subtly looks hand-drawn but not distractingly so.
TODO need to personalize this per shape like we do in Terrastruct app
TODO cleanup
Package-Level Constants (total 2)
const BG_COLOR = "N7"
const FG_COLOR = "N1"