mindmap

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MindMap

type MindMap struct {
	// contains filtered or unexported fields
}

func NewMindMap

func NewMindMap(filename string, root *Node) *MindMap

func Open

func Open(filename string) (*MindMap, error)

func (*MindMap) Filename

func (mm *MindMap) Filename() string

func (*MindMap) Root

func (mm *MindMap) Root() *Node

func (*MindMap) Save

func (mm *MindMap) Save() error

type MindMapTree

type MindMapTree struct {
	XMLName string `xml:"map"`
	Root    *Node  `xml:"node"`
}

type Node

type Node struct {
	Text   string  `xml:"text,attr"`
	Childs []*Node `xml:"node"`
}

Jump to

Keyboard shortcuts

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