View Source SimpleGraph (simple_graph v0.1.0)
A complete graph
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Link to this section Types
Specs
t() :: %SimpleGraph{
id: String.t(),
name: String.t(),
nodes: %{required(binary()) => SimpleGraph.Node.t()}
}
Link to this section Functions
Specs
Returns a specification to start this module under a supervisor.
See Supervisor.
Specs
get_node(t(), String.t()) :: {:ok, SimpleGraph.Node.t()} | {:error, String.t()}
Specs
Specs
put_node(t(), SimpleGraph.Node.t()) :: t()