compas.topology
Package containing topological algorithms for traversal, connectivity, combinatorics, etc.
Functions
Construct an adjacency dictionary from a set of edges. |
|
Find the path of least weight between two vertices of a graph using the A* search algorithm. |
|
Find the shortest path between two vertices of a graph or mesh using the A* search algorithm. |
|
Compute a breadth-first ordering of the nodes of a graph, starting from a root node. |
|
Return all paths from root to goal. |
|
Traverse an adjacency dict in "breadth-first" order. |
|
Identify the connected components of a graph. |
|
Compute a depth-first ordering of the nodes of a graph, starting from a root node. |
|
Compute Dijkstra distances from all nodes in a graph to one target node. |
|
Find the shortest path between two nodes of a graph if the weights of the connecting edges are not all the same. |
|
Construct an adjacency dictionary of the given faces, assuming that the faces have arbitrary orientation. |
|
Find the shortest path between two vertices of a network. |
|
Unify the cycle directions of the given faces such that adjacent faces share opposite halfedges. |
|
Color the vertices of a graph such that no two colors are adjacent. |
Functions using Numpy
In environments where numpy is not available, these functions can still be accessed through RPC.
Construct an adjacency dictionary of the given faces, assuming that the faces have arbitrary orientation. |
|
Unify the cycle directions of the given faces such that adjacent faces share opposite halfedges. |