exstreme v0.1.0 Exstreme.GraphCreator

Contains the functions to create graph, create nodes and to connect them.

Summary

Functions

Adds a connection between two nodes

Creates a broadcast gnode

Creates a funnel gnode

Creates a Graph generating a name

Creates a Graph with a given name

Creates a simple gnode

Types

update_map_func :: (%{key: atom} -> %{key: atom})



Functions

add_connection(graph, start, finish)

Specs

add_connection(Exstreme.Graph.t, atom, atom) :: Exstreme.Graph.t

Adds a connection between two nodes

create_broadcast(graph, params \\ [])

Specs

create_broadcast(Exstreme.Graph.t, [{:key, term}]) :: {Exstreme.Graph.t, atom}

Creates a broadcast gnode

create_funnel(graph, params \\ [])

Specs

create_funnel(Exstreme.Graph.t, [{:key, term}]) :: {Exstreme.Graph.t, atom}

Creates a funnel gnode

create_graph(params)

Specs

create_graph([{:key, term}]) :: Exstreme.Graph.t

Creates a Graph generating a name

create_graph(name, params)

Specs

create_graph(String.t, [{:key, term}]) :: Exstreme.Graph.t

Creates a Graph with a given name

create_node(graph, params \\ [])

Specs

create_node(Exstreme.Graph.t, [{:key, term}]) :: {Exstreme.Graph.t, atom}

Creates a simple gnode