summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Borassi <michele.borassi@imtlucca.it>2015-07-20 18:09:33 +0200
committerMichele Borassi <michele.borassi@imtlucca.it>2015-07-28 12:42:54 +0200
commit83b5970bfb27ddfe9f4742199ed25693d6597f95 (patch)
treea9b371ece317d2cd9c7d1d4b4483a9f6bea212d7
parentConversion Sage graphs - igraph graphs (diff)
Small correction in the documentation
-rw-r--r--src/sage/graphs/digraph.py4
-rw-r--r--src/sage/graphs/graph.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/sage/graphs/digraph.py b/src/sage/graphs/digraph.py
index a2b0998..30455a2 100644
--- a/src/sage/graphs/digraph.py
+++ b/src/sage/graphs/digraph.py
@@ -245,8 +245,6 @@ class DiGraph(GenericGraph):
- ``NX`` - data must be a NetworkX DiGraph.
- - ``igraph`` - data must be an igraph Graph.
-
.. NOTE::
As Sage's default edge labels is ``None`` while NetworkX uses
@@ -256,6 +254,8 @@ class DiGraph(GenericGraph):
``convert_empty_dict_labels_to_None`` to ``False`` (it is
``True`` by default).
+ - ``igraph`` - data must be an igraph Graph.
+
- ``boundary`` - a list of boundary vertices, if
empty, digraph is considered as a 'graph without boundary'
diff --git a/src/sage/graphs/graph.py b/src/sage/graphs/graph.py
index 20e68f6..70de8b8 100644
--- a/src/sage/graphs/graph.py
+++ b/src/sage/graphs/graph.py
@@ -681,8 +681,6 @@ class Graph(GenericGraph):
- ``NX`` - data must be a NetworkX Graph.
- - ``igraph`` - data must be an igraph Graph.
-
.. NOTE::
As Sage's default edge labels is ``None`` while NetworkX uses
@@ -692,6 +690,8 @@ class Graph(GenericGraph):
``convert_empty_dict_labels_to_None`` to ``False`` (it is
``True`` by default).
+ - ``igraph`` - data must be an igraph Graph.
+
- ``boundary`` - a list of boundary vertices, if
empty, graph is considered as a 'graph without boundary'