Back

fly-graph (clj)

(source)

function

(fly-graph & {:keys [nodes edges successors predecessors weight start]})
Creates a read-only, ad-hoc graph which uses the provided functions to return values for nodes, edges, etc. If any members are not functions, they will be returned as-is. Edges can be inferred if nodes and successors are provided. Nodes and edges can be inferred if successors and start are provided.

Examples