builder

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: GPL-3.0 Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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