graphviewer

package
v0.19.821 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: AGPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GraphViewer

func GraphViewer(props Props) templ.Component

func Script

func Script() templ.Component

Types

type Props

type Props struct {
	ID         string // Optional viewer ID
	DotString  string // Required - Graphviz DOT string
	Class      string // Custom CSS classes for container
	ShowToggle bool   // Show toggle button (default: true)
	ShowCopy   bool   // Show copy button (default: true)
}

Jump to

Keyboard shortcuts

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