Versions in this module Expand all Collapse all v0 v0.1.1 Feb 23, 2020 v0.1.0 Oct 29, 2019 Changes in this version + type DebugEvent struct + Detail interface{} + Type DebugEventType + type DebugEventType string + const AddEvent + const ConnectEvent + type DebugLog struct + func (l *DebugLog) Add(eventType DebugEventType, detail interface{}) + func (l *DebugLog) All() []DebugEvent + func (l *DebugLog) Len() int + type Graph struct + func NewGraph() Graph + func (g *Graph) Add(vertex interface{}) + func (g *Graph) Connect(start, end interface{}) error + func (g *Graph) Copy() (c Graph, err error) + func (g *Graph) DebugLogEvents() []DebugEvent + func (g *Graph) HasEdge(start, end interface{}) bool + func (g *Graph) HasPathDepthFirst(start, end interface{}) (bool, error) + func (g *Graph) HasVertex(v interface{}) bool + func (g *Graph) String() string + func (g *Graph) VerticesFrom(origin interface{}) (vertices []interface{})