treesvg

package
v0.0.0-...-616f46f Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2016 License: BSD-2-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SVG

func SVG(ts []*tree.Tree, recs []*events.Recons, stepX, stepY int, useLen bool) error

SVG creates an svg version of a list of trees.

Types

type Node

type Node struct {
	Level int
	Nest  int
	X     float64
	Y     int
	TopY  int
	BotY  int
}

type Tree

type Tree struct {
	ID    string
	Tree  *tree.Tree
	Nodes []Node
}

Jump to

Keyboard shortcuts

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