loom.derived
(source)Defines derived graphs from existing graphs using maps and filters.
For more info about this library see:
https://cljdoc.org/d/aysylu/loom/1.0.2/doc/readmePublic Variable | Short Description |
---|---|
bipartite-subgraph (clj) | Returns the subgraph of g containing only the edge subset E which lead outside of the given subset. |
edges-filtered-by (clj) | Returns a new graph which has as nodes all nodes of g and edges which satisfy the predicate. |
mapped-by (clj) | Returns a Graph or a DiGraph which has as nodeset (set (map f (nodes g)). |
nodes-filtered-by (clj) | Returns a new graph which has as nodes all nodes of g which satisfy the predicate. |
subgraph-reachable-from (clj) | Returns a subgraph of the given graph which contains all nodes and edges that can be reached from the given start node. |
surroundings (clj) | Returns th subgraph of g containing nodes which belong to the given subset of g and direct successors of them. |