Documentation ¶ Index ¶ type Graph func (g Graph) Get(i int) LayoutI func (g Graph) Len() int type Interface type Iter func NewIter(g Interface, reverse bool) *Iter func (iter *Iter) Get() []NodeI func (iter *Iter) Next() bool type Layout func (l Layout) Get(i int) NodeI func (l Layout) Len() int type LayoutI type NodeI 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{} Source Files ¶ View all Source files graph.goiter.go Click to show internal directories. Click to hide internal directories.