summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJarrod Millman <jarrod.millman@gmail.com>2020-12-07 18:05:04 -0800
committerGitHub <noreply@github.com>2020-12-07 21:05:04 -0500
commitfdb371468ffbc6dc60931b393577109461547dd5 (patch)
treee13cd09e4c0852b18cb6d1932c68f01d7fb661c3 /examples
parent831705dba1a2536ecf3b874da3510bead62ff489 (diff)
downloadnetworkx-fdb371468ffbc6dc60931b393577109461547dd5.tar.gz
Collect graphviz examples (#4427)
* Collect graphviz examples * Sort examples by file name * Improve graphviz gallery layout
Diffstat (limited to 'examples')
-rw-r--r--examples/graphviz/README.txt4
-rw-r--r--examples/graphviz/lanl_routes.edgelist (renamed from examples/drawing/lanl_routes.edgelist)0
-rw-r--r--examples/graphviz/plot_001_pygraphviz.py (renamed from examples/external/plot_pygraphviz.py)6
-rw-r--r--examples/graphviz/plot_atlas.py (renamed from examples/drawing/plot_atlas.py)0
-rw-r--r--examples/graphviz/plot_circular_tree.py (renamed from examples/drawing/plot_circular_tree.py)0
-rw-r--r--examples/graphviz/plot_decomposition.py (renamed from examples/algorithms/plot_decomposition.py)0
-rw-r--r--examples/graphviz/plot_giant_component.py (renamed from examples/drawing/plot_giant_component.py)0
-rw-r--r--examples/graphviz/plot_lanl_routes.py (renamed from examples/drawing/plot_lanl_routes.py)0
8 files changed, 7 insertions, 3 deletions
diff --git a/examples/graphviz/README.txt b/examples/graphviz/README.txt
new file mode 100644
index 00000000..9a1a22ca
--- /dev/null
+++ b/examples/graphviz/README.txt
@@ -0,0 +1,4 @@
+Graphviz
+--------
+
+These examples need Graphviz and `PyGraphviz <https://pygraphviz.github.io/documentation.html>`_.
diff --git a/examples/drawing/lanl_routes.edgelist b/examples/graphviz/lanl_routes.edgelist
index db831813..db831813 100644
--- a/examples/drawing/lanl_routes.edgelist
+++ b/examples/graphviz/lanl_routes.edgelist
diff --git a/examples/external/plot_pygraphviz.py b/examples/graphviz/plot_001_pygraphviz.py
index 69a2b02d..a972fafd 100644
--- a/examples/external/plot_pygraphviz.py
+++ b/examples/graphviz/plot_001_pygraphviz.py
@@ -1,7 +1,7 @@
"""
-===================
-Pygraphviz Examples
-===================
+============
+Introduction
+============
See the pygraphviz documentation and examples at
http://pygraphviz.github.io/
diff --git a/examples/drawing/plot_atlas.py b/examples/graphviz/plot_atlas.py
index ec08fb79..ec08fb79 100644
--- a/examples/drawing/plot_atlas.py
+++ b/examples/graphviz/plot_atlas.py
diff --git a/examples/drawing/plot_circular_tree.py b/examples/graphviz/plot_circular_tree.py
index 24893a87..24893a87 100644
--- a/examples/drawing/plot_circular_tree.py
+++ b/examples/graphviz/plot_circular_tree.py
diff --git a/examples/algorithms/plot_decomposition.py b/examples/graphviz/plot_decomposition.py
index 830baf12..830baf12 100644
--- a/examples/algorithms/plot_decomposition.py
+++ b/examples/graphviz/plot_decomposition.py
diff --git a/examples/drawing/plot_giant_component.py b/examples/graphviz/plot_giant_component.py
index 42d08a21..42d08a21 100644
--- a/examples/drawing/plot_giant_component.py
+++ b/examples/graphviz/plot_giant_component.py
diff --git a/examples/drawing/plot_lanl_routes.py b/examples/graphviz/plot_lanl_routes.py
index 4247646d..4247646d 100644
--- a/examples/drawing/plot_lanl_routes.py
+++ b/examples/graphviz/plot_lanl_routes.py