graph

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2021 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Graph

type Graph []LayoutI

func (Graph) Get

func (g Graph) Get(i int) LayoutI

func (Graph) Len

func (g Graph) Len() int

type Interface

type Interface interface {
	Len() int
	Get(i int) LayoutI
}

type Iter

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

func NewIter

func NewIter(g Interface, reverse bool) *Iter

func (*Iter) Get

func (iter *Iter) Get() []NodeI

func (*Iter) Next

func (iter *Iter) Next() bool

type Layout

type Layout []NodeI

func (Layout) Get

func (l Layout) Get(i int) NodeI

func (Layout) Len

func (l Layout) Len() int

type LayoutI

type LayoutI interface {
	Len() int
	Get(i int) NodeI
}

type NodeI

type NodeI interface{}

Jump to

Keyboard shortcuts

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