render

package
v0.0.0-...-f12ca70 Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodeGraphInfo

type NodeGraphInfo struct {
	Ancestor        *sbom.Node
	Descendants     *sbom.NodeList
	Depth           int
	IsFirst         bool
	IsLast          bool
	ChildrenSkipped bool // True when this node has children but they were already rendered elsewhere
}

type NodeListRender

type NodeListRender interface {
	RenderNodeList(options.Options, *sbom.NodeList) error
}

type NodeRenderer

type NodeRenderer interface {
	RenderNode(options.Options, *sbom.Node, NodeGraphInfo) error
	DefaultOptions() any
}

Jump to

Keyboard shortcuts

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