summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael-E-Rose <Michael.Ernst.Rose@gmail.com>2016-04-19 10:01:21 +0200
committerMichael-E-Rose <Michael.Ernst.Rose@gmail.com>2016-04-20 10:35:57 +0200
commitceedf0be6706b996338f144bd7352f8207548b01 (patch)
treef8a574cbaa0b6038c315bc7b03490d5eb92722e4
parentd26d5e4de3a7a7fa609f56295dd8537bccffccd9 (diff)
downloadnetworkx-ceedf0be6706b996338f144bd7352f8207548b01.tar.gz
Correct see also links
-rw-r--r--doc/source/reference/algorithms.component.rst24
-rw-r--r--networkx/algorithms/components/__init__.py12
-rw-r--r--networkx/algorithms/components/biconnected.py8
-rw-r--r--networkx/algorithms/components/connected.py20
-rw-r--r--networkx/algorithms/components/semiconnected.py8
-rw-r--r--networkx/algorithms/components/strongly_connected.py20
-rw-r--r--networkx/algorithms/components/weakly_connected.py20
7 files changed, 50 insertions, 62 deletions
diff --git a/doc/source/reference/algorithms.component.rst b/doc/source/reference/algorithms.component.rst
index bef3e0e9..1caf03e8 100644
--- a/doc/source/reference/algorithms.component.rst
+++ b/doc/source/reference/algorithms.component.rst
@@ -1,13 +1,10 @@
**********
Components
**********
-
.. automodule:: networkx.algorithms.components
-.. currentmodule:: networkx
Connectivity
-^^^^^^^^^^^^
-.. automodule:: networkx.algorithms.components.connected
+------------
.. autosummary::
:toctree: generated/
@@ -18,8 +15,7 @@ Connectivity
node_connected_component
Strong connectivity
-^^^^^^^^^^^^^^^^^^^
-.. automodule:: networkx.algorithms.components.strongly_connected
+-------------------
.. autosummary::
:toctree: generated/
@@ -31,10 +27,8 @@ Strong connectivity
kosaraju_strongly_connected_components
condensation
-
Weak connectivity
-^^^^^^^^^^^^^^^^^
-.. automodule:: networkx.algorithms.components.weakly_connected
+-----------------
.. autosummary::
:toctree: generated/
@@ -44,8 +38,7 @@ Weak connectivity
weakly_connected_component_subgraphs
Attracting components
-^^^^^^^^^^^^^^^^^^^^^
-.. automodule:: networkx.algorithms.components.attracting
+---------------------
.. autosummary::
:toctree: generated/
@@ -54,10 +47,8 @@ Attracting components
attracting_components
attracting_component_subgraphs
-
Biconnected components
-^^^^^^^^^^^^^^^^^^^^^^
-.. automodule:: networkx.algorithms.components.biconnected
+----------------------
.. autosummary::
:toctree: generated/
@@ -67,12 +58,9 @@ Biconnected components
biconnected_component_subgraphs
articulation_points
-
Semiconnectedness
-^^^^^^^^^^^^^^^^^
-.. automodule:: networkx.algorithms.components.semiconnected
+-----------------
.. autosummary::
:toctree: generated/
is_semiconnected
-
diff --git a/networkx/algorithms/components/__init__.py b/networkx/algorithms/components/__init__.py
index d3d41eb1..f9ae2cab 100644
--- a/networkx/algorithms/components/__init__.py
+++ b/networkx/algorithms/components/__init__.py
@@ -1,6 +1,6 @@
-from networkx.algorithms.components.connected import *
-from networkx.algorithms.components.strongly_connected import *
-from networkx.algorithms.components.weakly_connected import *
-from networkx.algorithms.components.attracting import *
-from networkx.algorithms.components.biconnected import *
-from networkx.algorithms.components.semiconnected import *
+from .connected import *
+from .strongly_connected import *
+from .weakly_connected import *
+from .attracting import *
+from .biconnected import *
+from .semiconnected import *
diff --git a/networkx/algorithms/components/biconnected.py b/networkx/algorithms/components/biconnected.py
index 53a96caf..3cc4d0b5 100644
--- a/networkx/algorithms/components/biconnected.py
+++ b/networkx/algorithms/components/biconnected.py
@@ -63,10 +63,10 @@ def is_biconnected(G):
articulation_points
biconnected_component_edges
biconnected_component_subgraphs
- components.is_strongly_connected
- components.is_weakly_connected
- components.is_connected
- components.is_semiconnected
+ is_strongly_connected
+ is_weakly_connected
+ is_connected
+ is_semiconnected
Notes
-----
diff --git a/networkx/algorithms/components/connected.py b/networkx/algorithms/components/connected.py
index 5e90da71..557e1418 100644
--- a/networkx/algorithms/components/connected.py
+++ b/networkx/algorithms/components/connected.py
@@ -58,8 +58,8 @@ def connected_components(G):
See Also
--------
- components.strongly_connected_components
- components.weakly_connected_components
+ strongly_connected_components
+ weakly_connected_components
Notes
-----
@@ -110,8 +110,8 @@ def connected_component_subgraphs(G, copy=True):
See Also
--------
connected_components
- components.strongly_connected_component_subgraphs
- components.weakly_connected_component_subgraphs
+ strongly_connected_component_subgraphs
+ weakly_connected_component_subgraphs
Notes
-----
@@ -142,8 +142,8 @@ def number_connected_components(G):
See Also
--------
connected_components
- components.number_weakly_connected_components
- components.number_strongly_connected_components
+ number_weakly_connected_components
+ number_strongly_connected_components
Notes
-----
@@ -180,10 +180,10 @@ def is_connected(G):
See Also
--------
- components.is_strongly_connected
- components.is_weakly_connected
- components.is_semiconnected
- components.is_biconnected
+ is_strongly_connected
+ is_weakly_connected
+ is_semiconnected
+ is_biconnected
connected_components
Notes
diff --git a/networkx/algorithms/components/semiconnected.py b/networkx/algorithms/components/semiconnected.py
index a9766024..b52fc43d 100644
--- a/networkx/algorithms/components/semiconnected.py
+++ b/networkx/algorithms/components/semiconnected.py
@@ -50,10 +50,10 @@ def is_semiconnected(G):
See Also
--------
- components.is_strongly_connected
- components.is_weakly_connected
- components.is_connected
- components.is_biconnected
+ is_strongly_connected
+ is_weakly_connected
+ is_connected
+ is_biconnected
"""
if len(G) == 0:
raise nx.NetworkXPointlessConcept(
diff --git a/networkx/algorithms/components/strongly_connected.py b/networkx/algorithms/components/strongly_connected.py
index 9fcfd1de..c3f330cd 100644
--- a/networkx/algorithms/components/strongly_connected.py
+++ b/networkx/algorithms/components/strongly_connected.py
@@ -60,8 +60,8 @@ def strongly_connected_components(G):
See Also
--------
- components.connected_components
- components.weakly_connected_components
+ connected_components
+ weakly_connected_components
kosaraju_strongly_connected_components
Notes
@@ -306,8 +306,8 @@ def strongly_connected_component_subgraphs(G, copy=True):
See Also
--------
strongly_connected_components
- components.connected_component_subgraphs
- components.weakly_connected_component_subgraphs
+ connected_component_subgraphs
+ weakly_connected_component_subgraphs
"""
for comp in strongly_connected_components(G):
@@ -339,8 +339,8 @@ def number_strongly_connected_components(G):
See Also
--------
strongly_connected_components
- components.number_connected_components
- components.number_weakly_connected_components
+ number_connected_components
+ number_weakly_connected_components
Notes
-----
@@ -370,10 +370,10 @@ def is_strongly_connected(G):
See Also
--------
- components.is_weakly_connected
- components.is_semiconnected
- components.is_connected
- components.is_biconnected
+ is_weakly_connected
+ is_semiconnected
+ is_connected
+ is_biconnected
strongly_connected_components
Notes
diff --git a/networkx/algorithms/components/weakly_connected.py b/networkx/algorithms/components/weakly_connected.py
index ff2b0642..e3b2129b 100644
--- a/networkx/algorithms/components/weakly_connected.py
+++ b/networkx/algorithms/components/weakly_connected.py
@@ -57,8 +57,8 @@ def weakly_connected_components(G):
See Also
--------
- components.connected_components
- components.strongly_connected_components
+ connected_components
+ strongly_connected_components
Notes
-----
@@ -95,8 +95,8 @@ def number_weakly_connected_components(G):
See Also
--------
weakly_connected_components
- components.number_connected_components
- components.number_strongly_connected_components
+ number_connected_components
+ number_strongly_connected_components
Notes
-----
@@ -146,8 +146,8 @@ def weakly_connected_component_subgraphs(G, copy=True):
See Also
--------
weakly_connected_components
- components.strongly_connected_component_subgraphs
- components.connected_component_subgraphs
+ strongly_connected_component_subgraphs
+ connected_component_subgraphs
Notes
-----
@@ -186,10 +186,10 @@ def is_weakly_connected(G):
See Also
--------
- components.is_strongly_connected
- components.is_semiconnected
- components.is_connected
- components.is_biconnected
+ is_strongly_connected
+ is_semiconnected
+ is_connected
+ is_biconnected
weakly_connected_components
Notes