builder

package
v0.0.69 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0 Imports: 10 Imported by: 4

Documentation

Index

Constants

View Source
const DefaultHeight = 25
View Source
const DefaultWidth = 150
View Source
const LeafHeight = 45
View Source
const MaxWidth = 250
View Source
const TextLimit = 20
View Source
const TextSizeBumpIncrement = 5
View Source
const TextWidthSizeBumpIncrement = 10

Variables

This section is empty.

Functions

func BuildGraph

func BuildGraph(obj any) ([]*model.NodeData[any], []*model.EdgeData[any])

func BuildGraphMapNode

func BuildGraphMapNode(parent *model.NodeData[any], field reflect.Value, nodes *[]*model.NodeData[any],
	edges *[]*model.EdgeData[any])

func BuildSliceGraphNode

func BuildSliceGraphNode[T any](parent *model.NodeData[any], field reflect.Value, nodes *[]*model.NodeData[any],
	label string, edges *[]*model.EdgeData[any])

func BuildTree

func BuildTree(obj any) (*model.TreeNode, *model.ChangeStatistics)

func BuildTreeMapNode

func BuildTreeMapNode(parent *model.TreeNode, field reflect.Value)

func DigIntoObject

func DigIntoObject[T any](parent *model.NodeData[any], field reflect.Value, nodes *[]*model.NodeData[any],
	label string, edges *[]*model.EdgeData[any])

func DigIntoTreeNode

func DigIntoTreeNode[T any](parent *model.TreeNode, field reflect.Value, label string, tc, br int)

func DigIntoTreeNodeSlice

func DigIntoTreeNodeSlice[T any](parent *model.TreeNode, field reflect.Value, label string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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