strand v0.2.0 Strand.Protocols.Digraph protocol

Summary

Functions

counts the inbound edges of a node

calculates the inbound edges of a node

calculates the nodes that precede a node

reverses a directed graph

Types

t()
t() :: term

Functions

in_degree(g, n)

counts the inbound edges of a node

in_edges(g, n)

calculates the inbound edges of a node

predecessors(g, n)

calculates the nodes that precede a node

transpose(g)

reverses a directed graph