tree

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: Apache-2.0 Imports: 6 Imported by: 7

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Model

type Model struct {
	Margin                    string
	Indent                    string
	Fork                      string
	Branch                    string
	Leaf                      string
	Padding                   string
	VerticalPadMultilineNodes bool
	RootsWithoutPrefix        bool
	// contains filtered or unexported fields
}

func NewModel

func NewModel() Model

func (*Model) Add

func (m *Model) Add(parent string, id string, model bubbly.VisibleModel) error

func (Model) Init

func (m Model) Init() tea.Cmd

func (*Model) Remove

func (m *Model) Remove(id string)

func (Model) Update

func (m Model) Update(msg tea.Msg) (tea.Model, tea.Cmd)

func (Model) View

func (m Model) View() string

Jump to

Keyboard shortcuts

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