Skip to content

Commit 6881101

Browse files
committed
03_example_graphs.ipynb: Minor fixes and corrections
1 parent 6ed268d commit 6881101

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

03_example_graphs.ipynb

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"# Example directed graphs\n",
3636
"\n",
3737
"> Various functions to generate examples of directed graphs (DAGs),\n",
38-
"> mainly graphs from various [related works](01_related.ipynb)"
38+
"> mainly graphs from various [related works](02_related.ipynb)"
3939
]
4040
},
4141
{
@@ -187,7 +187,7 @@
187187
"source": [
188188
"Draw the 6-nodes crown DAG, known as the $S_3^0$ graph, using automatic bipartite layout.\n",
189189
"\n",
190-
"This is similar layout to the one used in left side of Figure 4 in the FELINE paper, just with changed order of nodes in each of sets of vertices (each partition)."
190+
"This is a similar layout to the one used in left side of Figure 4 in the FELINE paper, just with changed order of nodes in each of sets of vertices (each partition)."
191191
]
192192
},
193193
{
@@ -271,7 +271,7 @@
271271
"cell_type": "markdown",
272272
"metadata": {},
273273
"source": [
274-
"## Create small DAG (example in Figure 2 in FELINE paper)"
274+
"## Create the small DAG (example in Figure 2 in FELINE paper)"
275275
]
276276
},
277277
{
@@ -689,7 +689,7 @@
689689
"cell_type": "markdown",
690690
"metadata": {},
691691
"source": [
692-
"**NOTE**: we are skipping figure titled 'Didactic example of a DAG: search space of FERRARI\\n(topological ordering x)' in [Reachability labels for version control graphs.ipynb](_Reachability_labels_for_version_control_graphs.ipynb). If it would be added, it would be added in the notebook describing various reachability indices."
692+
"**NOTE**: we are skipping figure titled 'Didactic example of a DAG: search space of FERRARI\\n(topological ordering x)' in [Reachability labels for version control graphs.ipynb](_Reachability_labels_for_version_control_graphs.ipynb). If it is to be added, it would be added in the notebook describing various reachability indices."
693693
]
694694
},
695695
{
@@ -703,7 +703,7 @@
703703
"cell_type": "markdown",
704704
"metadata": {},
705705
"source": [
706-
"Create an example DAG used among others for showing how Reachability Contracton Hierarchies (RCH) labeling works. This graph is shown on Figures 1 and 2 in the PReaCH paper.\n",
706+
"Create an example DAG used among others for showing how Reachability Contraction Hierarchies (RCH) labeling works. This graph is shown on Figures 1 and 2 in the PReaCH paper.\n",
707707
"\n",
708708
"The graph as shown in Figure 1 in the PReaCH paper (preprint) can be seen below:\n",
709709
"\n",
@@ -714,7 +714,7 @@
714714
"cell_type": "markdown",
715715
"metadata": {},
716716
"source": [
717-
"_Caption:_ Example RCH. Edges in the forward search space are light green and those in the\n",
717+
"_Caption:_ Example RCH. Edges in the forward search space are light green, and those in the\n",
718718
"backward search space are dark blue. The search spaces for a query from $s$ to $t$ are circled.\n",
719719
"Node labels specify the RCH node ordering."
720720
]
@@ -732,7 +732,7 @@
732732
" Positions of nodes in the drawing from Figure 1 and 2 in PReaCH paper\n",
733733
" is stored in `pos` attribute of returned graph object.\n",
734734
" \n",
735-
" Backard topological levels (i.e. with level equal to 0 for nodes\n",
735+
" Backward topological levels (i.e. with level equal to 0 for nodes\n",
736736
" with no outgoing edges, that is with out-degree of 0) are stored\n",
737737
" in `lvl` attribute of returned graph object.\n",
738738
" \n",
@@ -946,7 +946,7 @@
946946
"source": [
947947
"Draw using node positions created with the help of `pydot` module and Graphviz, using 'dot' layout algorithm, if the module is present (installed).\n",
948948
"\n",
949-
"The resulting positioning is transformed from vertical to horizontal, and flipped along horizontal axis to better match the original draving in the Stolee blog post(s)."
949+
"The resulting positioning is transformed from vertical to horizontal, and flipped along horizontal axis to better match the original drawing in the Stolee blog post(s)."
950950
]
951951
},
952952
{

0 commit comments

Comments
 (0)