{"modulePath":"github.com/pb33f/openapi-changes","version":"v0.0.98","isLatest":false,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package builder\n\n## Constants\n\n```go\nconst DefaultHeight = 25\n```\n\n```go\nconst DefaultWidth = 150\n```\n\n```go\nconst LeafHeight = 45\n```\n\n```go\nconst MaxWidth = 250\n```\n\n```go\nconst TextLimit = 20\n```\n\n```go\nconst TextSizeBumpIncrement = 5\n```\n\n```go\nconst TextWidthSizeBumpIncrement = 10\n```\n\n## Functions\n\n```go\nfunc BuildGraph(obj any) ([]*model.NodeData[any], []*model.EdgeData[any])\n```\n\n```go\nfunc BuildGraphMapNode(parent *model.NodeData[any], field reflect.Value, nodes *[]*model.NodeData[any],\n\tedges *[]*model.EdgeData[any])\n```\n\n```go\nfunc BuildSliceGraphNode[T any](parent *model.NodeData[any], field reflect.Value, nodes *[]*model.NodeData[any],\n\tlabel string, edges *[]*model.EdgeData[any])\n```\n\n```go\nfunc BuildTree(obj any) (*model.TreeNode, *model.ChangeStatistics)\n```\n\n```go\nfunc BuildTreeMapNode(parent *model.TreeNode, field reflect.Value)\n```\n\n```go\nfunc BuildTreeMapNodeWithLabel(parent *model.TreeNode, field reflect.Value, label string)\n```\nBuildTreeMapNodeWithLabel creates a labeled parent node and adds map children under it. Use this for map fields that should appear as a named section (e.g., \"Callbacks\").\n\n```go\nfunc DigIntoObject[T any](parent *model.NodeData[any], field reflect.Value, nodes *[]*model.NodeData[any],\n\tlabel string, edges *[]*model.EdgeData[any])\n```\n\n```go\nfunc DigIntoTreeNode[T any](parent *model.TreeNode, field reflect.Value, label string, tc, br int)\n```\n\n```go\nfunc DigIntoTreeNodeSlice[T any](parent *model.TreeNode, field reflect.Value, label string)\n```\n\n","path":"github.com/pb33f/openapi-changes/builder","name":"builder","synopsis":"","isRedistributable":true}
