Skip to content

Commit 072b93b

Browse files
Eric-Arellanomergify[bot]
authored andcommitted
Reorganize API docs into subpages (#927)
* Reorganize API docs into subfolders * Increase maxdepth for functions page --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 148600d commit 072b93b

26 files changed

+464
-453
lines changed

docs/source/api.rst

Lines changed: 0 additions & 452 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
.. _centrality:
2+
3+
Centrality
4+
==========
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.betweenness_centrality
10+
rustworkx.edge_betweenness_centrality
11+
rustworkx.eigenvector_centrality
12+
rustworkx.katz_centrality
13+
rustworkx.closeness_centrality
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
.. _connectivity-cycle-finding:
2+
3+
Connectivity and Cycles
4+
=======================
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.number_connected_components
10+
rustworkx.connected_components
11+
rustworkx.node_connected_component
12+
rustworkx.is_connected
13+
rustworkx.strongly_connected_components
14+
rustworkx.number_weakly_connected_components
15+
rustworkx.weakly_connected_components
16+
rustworkx.is_weakly_connected
17+
rustworkx.cycle_basis
18+
rustworkx.simple_cycles
19+
rustworkx.digraph_find_cycle
20+
rustworkx.articulation_points
21+
rustworkx.biconnected_components
22+
rustworkx.chain_decomposition
23+
rustworkx.all_simple_paths
24+
rustworkx.all_pairs_all_simple_paths
25+
rustworkx.stoer_wagner_min_cut
26+
rustworkx.longest_simple_path
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.. _dag-algorithms:
2+
3+
DAG Algorithms
4+
==============
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.dag_longest_path
10+
rustworkx.dag_longest_path_length
11+
rustworkx.dag_weighted_longest_path
12+
rustworkx.dag_weighted_longest_path_length
13+
rustworkx.is_directed_acyclic_graph
14+
rustworkx.layers
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _graph-ops:
2+
3+
Graph Operations
4+
================
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.complement
10+
rustworkx.union
11+
rustworkx.cartesian_product
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
.. _algorithm_api:
2+
3+
Algorithm Functions
4+
===================
5+
6+
.. toctree::
7+
:maxdepth: 2
8+
9+
centrality
10+
connectivity_and_cycles
11+
dag_algorithms
12+
graph_operations
13+
isomorphism
14+
link_analysis
15+
matching
16+
other
17+
shortest_paths
18+
traversal
19+
tree
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.. _isomorphism:
2+
3+
Isomorphism
4+
===========
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.is_isomorphic
10+
rustworkx.is_subgraph_isomorphic
11+
rustworkx.is_isomorphic_node_match
12+
rustworkx.vf2_mapping
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
.. _link-analysis:
2+
3+
Link Analysis
4+
=============
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.pagerank
10+
rustworkx.hits
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
.. _matching:
2+
3+
Matching
4+
========
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.max_weight_matching
10+
rustworkx.is_matching
11+
rustworkx.is_maximal_matching
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
.. _other-algorithms:
2+
3+
Other Algorithm Functions
4+
=========================
5+
6+
.. autosummary::
7+
:toctree: ../../apiref
8+
9+
rustworkx.adjacency_matrix
10+
rustworkx.transitivity
11+
rustworkx.core_number
12+
rustworkx.graph_greedy_color
13+
rustworkx.graph_greedy_edge_color
14+
rustworkx.graph_line_graph
15+
rustworkx.metric_closure
16+
rustworkx.is_planar

0 commit comments

Comments
 (0)