package graph

Import Path
	/pkg/graph (on go.dev)

Dependency Relation
	imports 9 packages, and imported by 3 packages

Involved Source Files Package graph provides a graph or interconnected state-machines and their states, based on the dbg telemetry protocol.
Package-Level Type Names (total 10)
/* sort by: | */
Client represents a single state machine withing the network graph. ConnId string Id string LatestClock am.Time LatestMsgTx *telemetry.DbgMsgTx LatestTimeSum uint64 TODO version schemas func github.com/pancsta/asyncmachine-go/tools/visualizer.(*Visualizer).Clients() map[string]Client
Edge *EdgeData Source *Vertex Target *Vertex func (*Graph).Connection(source, target string) (*Connection, error)
type Edge = (struct)
machine is a child of another machine machine has an RPC connection to another machine machine has a state machine has pipes going to another machine state has relations with other states
MsgTxs []*telemetry.DbgMsgTx
Clients map[string]*Client G is a directed graph of machines and states with metadata. Map is a unidirectional mirror of g, without metadata. Server *am.Machine (*Graph) AddClient(msg *telemetry.DbgMsgStruct) error (*Graph) Clear() Clone returns a deep clone of the graph. Connection returns a Connection for the given source-target. (*Graph) ParseMsg(id string, msgTx *telemetry.DbgMsgTx) (*Graph) RemoveClient(id string) error func New(server *am.Machine) (*Graph, error) func (*Graph).Clone() (*Graph, error) func github.com/pancsta/asyncmachine-go/tools/visualizer.NewRenderer(graph *Graph, logger func(msg string, args ...any)) *visualizer.Renderer
Auto bool Inherited string Multi bool
FromState string MutType am.MutationType ToState string
RelType am.Relation
MachId string StateName string
Package-Level Functions (only one)
func New(server *am.Machine) (*Graph, error)