150 KB
/srv/reproducible-results/rbuild-debian/r-b-build.yha4A4vE/b1/python-igraph_0.11.8+ds-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.yha4A4vE/b2/python-igraph_0.11.8+ds-1_arm64.changes
412 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·39e16bcfa13cce48802e2fbb17197417·6056336·doc·optional·python-igraph-doc_0.11.8+ds-1_all.deb1 ·558bc8e008cfc175d909e81d23cb7cd3·6056524·doc·optional·python-igraph-doc_0.11.8+ds-1_all.deb
2 ·d8ae4a5f073c27930af5b125b94e9a61·380404·debug·optional·python3-igraph-dbgsym_0.11.8+ds-1_arm64.deb2 ·d8ae4a5f073c27930af5b125b94e9a61·380404·debug·optional·python3-igraph-dbgsym_0.11.8+ds-1_arm64.deb
3 ·135913ab273f8fd7ebf9bbd6f5d61e48·319944·python·optional·python3-igraph_0.11.8+ds-1_arm64.deb3 ·135913ab273f8fd7ebf9bbd6f5d61e48·319944·python·optional·python3-igraph_0.11.8+ds-1_arm64.deb
149 KB
python-igraph-doc_0.11.8+ds-1_all.deb
452 B
file list
    
Offset 1, 3 lines modifiedOffset 1, 3 lines modified
1 -rw-r--r--···0········0········0········4·2024-11-10·15:46:20.000000·debian-binary1 -rw-r--r--···0········0········0········4·2024-11-10·15:46:20.000000·debian-binary
2 -rw-r--r--···0········0········0····12696·2024-11-10·15:46:20.000000·control.tar.xz2 -rw-r--r--···0········0········0····12708·2024-11-10·15:46:20.000000·control.tar.xz
3 -rw-r--r--···0········0········0··6043448·2024-11-10·15:46:20.000000·data.tar.xz3 -rw-r--r--···0········0········0··6043624·2024-11-10·15:46:20.000000·data.tar.xz
98.0 B
control.tar.xz
70.0 B
control.tar
48.0 B
./md5sums
30.0 B
./md5sums
Files differ
149 KB
data.tar.xz
149 KB
data.tar
7.77 KB
file list
    
Offset 208, 15 lines modifiedOffset 208, 15 lines modified
208 -rw-r--r--···0·root·········(0)·root·········(0)·····3746·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/quickstart.rst.txt208 -rw-r--r--···0·root·········(0)·root·········(0)·····3746·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/quickstart.rst.txt
209 -rw-r--r--···0·root·········(0)·root·········(0)···222509·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/ring_animation.rst.txt209 -rw-r--r--···0·root·········(0)·root·········(0)···222509·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/ring_animation.rst.txt
210 -rw-r--r--···0·root·········(0)·root·········(0)·····4963·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/shortest_path_visualisation.rst.txt210 -rw-r--r--···0·root·········(0)·root·········(0)·····4963·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/shortest_path_visualisation.rst.txt
211 -rw-r--r--···0·root·········(0)·root·········(0)·····3666·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/simplify.rst.txt211 -rw-r--r--···0·root·········(0)·root·········(0)·····3666·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/simplify.rst.txt
212 -rw-r--r--···0·root·········(0)·root·········(0)·····3879·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/spanning_trees.rst.txt212 -rw-r--r--···0·root·········(0)·root·········(0)·····3879·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/spanning_trees.rst.txt
213 -rw-r--r--···0·root·········(0)·root·········(0)·····4545·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/topological_sort.rst.txt213 -rw-r--r--···0·root·········(0)·root·········(0)·····4545·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/topological_sort.rst.txt
214 -rw-r--r--···0·root·········(0)·root·········(0)·····5252·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visual_style.rst.txt214 -rw-r--r--···0·root·········(0)·root·········(0)·····5252·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visual_style.rst.txt
215 -rw-r--r--···0·root·········(0)·root·········(0)·····3945·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_cliques.rst.txt215 -rw-r--r--···0·root·········(0)·root·········(0)·····3946·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_cliques.rst.txt
216 -rw-r--r--···0·root·········(0)·root·········(0)·····3852·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_communities.rst.txt216 -rw-r--r--···0·root·········(0)·root·········(0)·····3852·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_communities.rst.txt
217 -rw-r--r--···0·root·········(0)·root·········(0)····10541·2024-11-10·14:24:43.000000·./usr/share/doc/python-igraph-doc/html/_sources/visualisation.rst.txt217 -rw-r--r--···0·root·········(0)·root·········(0)····10541·2024-11-10·14:24:43.000000·./usr/share/doc/python-igraph-doc/html/_sources/visualisation.rst.txt
218 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/218 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/
219 -rw-r--r--···0·root·········(0)·root·········(0)·····4289·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/_sphinx_javascript_frameworks_compat.js219 -rw-r--r--···0·root·········(0)·root·········(0)·····4289·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/_sphinx_javascript_frameworks_compat.js
220 -rw-r--r--···0·root·········(0)·root·········(0)····15094·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/basic.css220 -rw-r--r--···0·root·········(0)·root·········(0)····15094·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/basic.css
221 -rw-r--r--···0·root·········(0)·root·········(0)·····3380·2024-06-19·10:46:11.000000·./usr/share/doc/python-igraph-doc/html/_static/binder_badge_logo.svg221 -rw-r--r--···0·root·········(0)·root·········(0)·····3380·2024-06-19·10:46:11.000000·./usr/share/doc/python-igraph-doc/html/_static/binder_badge_logo.svg
222 -rw-r--r--···0·root·········(0)·root·········(0)····21404·2024-06-19·10:46:11.000000·./usr/share/doc/python-igraph-doc/html/_static/broken_example.png222 -rw-r--r--···0·root·········(0)·root·········(0)····21404·2024-06-19·10:46:11.000000·./usr/share/doc/python-igraph-doc/html/_static/broken_example.png
Offset 462, 15 lines modifiedOffset 462, 15 lines modified
462 -rw-r--r--···0·root·········(0)·root·········(0)····18430·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/faq.html462 -rw-r--r--···0·root·········(0)·root·········(0)····18430·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/faq.html
463 -rw-r--r--···0·root·········(0)·root·········(0)····31934·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/generation.html463 -rw-r--r--···0·root·········(0)·root·········(0)····31934·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/generation.html
464 -rw-r--r--···0·root·········(0)·root·········(0)·····4759·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/genindex.html464 -rw-r--r--···0·root·········(0)·root·········(0)·····4759·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/genindex.html
465 -rw-r--r--···0·root·········(0)·root·········(0)····10616·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/index.html465 -rw-r--r--···0·root·········(0)·root·········(0)····10616·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/index.html
466 -rw-r--r--···0·root·········(0)·root·········(0)····25754·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/install.html466 -rw-r--r--···0·root·········(0)·root·········(0)····25754·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/install.html
467 -rw-r--r--···0·root·········(0)·root·········(0)·····1935·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/objects.inv467 -rw-r--r--···0·root·········(0)·root·········(0)·····1935·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/objects.inv
468 -rw-r--r--···0·root·········(0)·root·········(0)·····5158·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/search.html468 -rw-r--r--···0·root·········(0)·root·········(0)·····5158·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/search.html
469 -rw-r--r--···0·root·········(0)·root·········(0)····78422·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/searchindex.js469 -rw-r--r--···0·root·········(0)·root·········(0)····78429·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/searchindex.js
470 -rw-r--r--···0·root·········(0)·root·········(0)····15492·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/sg_execution_times.html470 -rw-r--r--···0·root·········(0)·root·········(0)····15492·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/sg_execution_times.html
471 -rw-r--r--···0·root·········(0)·root·········(0)···128509·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorial.es.html471 -rw-r--r--···0·root·········(0)·root·········(0)···128509·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorial.es.html
472 -rw-r--r--···0·root·········(0)·root·········(0)···135840·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorial.html472 -rw-r--r--···0·root·········(0)·root·········(0)···135840·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorial.html
473 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/473 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/
474 -rw-r--r--···0·root·········(0)·root·········(0)····14862·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html474 -rw-r--r--···0·root·········(0)·root·········(0)····14862·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html
475 -rw-r--r--···0·root·········(0)·root·········(0)····28046·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html475 -rw-r--r--···0·root·········(0)·root·········(0)····28046·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html
476 -rw-r--r--···0·root·········(0)·root·········(0)····21017·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html476 -rw-r--r--···0·root·········(0)·root·········(0)····21017·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html
Offset 491, 18 lines modifiedOffset 491, 18 lines modified
491 -rw-r--r--···0·root·········(0)·root·········(0)····22900·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/quickstart.html491 -rw-r--r--···0·root·········(0)·root·········(0)····22900·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/quickstart.html
492 -rw-r--r--···0·root·········(0)·root·········(0)···222943·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/ring_animation.html492 -rw-r--r--···0·root·········(0)·root·········(0)···222943·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/ring_animation.html
493 -rw-r--r--···0·root·········(0)·root·········(0)····24514·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/shortest_path_visualisation.html493 -rw-r--r--···0·root·········(0)·root·········(0)····24514·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/shortest_path_visualisation.html
494 -rw-r--r--···0·root·········(0)·root·········(0)····20279·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html494 -rw-r--r--···0·root·········(0)·root·········(0)····20279·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html
495 -rw-r--r--···0·root·········(0)·root·········(0)····20262·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html495 -rw-r--r--···0·root·········(0)·root·········(0)····20262·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html
496 -rw-r--r--···0·root·········(0)·root·········(0)····21909·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html496 -rw-r--r--···0·root·········(0)·root·········(0)····21909·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html
497 -rw-r--r--···0·root·········(0)·root·········(0)····23991·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html497 -rw-r--r--···0·root·········(0)·root·········(0)····23991·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html
498 -rw-r--r--···0·root·········(0)·root·········(0)····20927·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html498 -rw-r--r--···0·root·········(0)·root·········(0)····20928·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html
499 -rw-r--r--···0·root·········(0)·root·········(0)····20453·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html499 -rw-r--r--···0·root·········(0)·root·········(0)····20453·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html
500 -rw-r--r--···0·root·········(0)·root·········(0)····33649·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/visualisation.html500 -rw-r--r--···0·root·········(0)·root·········(0)····33649·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/visualisation.html
501 -rw-r--r--···0·root·········(0)·root·········(0)··1889500·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/igraph.pdf.gz501 -rw-r--r--···0·root·········(0)·root·········(0)··1889492·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/igraph.pdf.gz
502 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc-base/502 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc-base/
503 -rw-r--r--···0·root·········(0)·root·········(0)······362·2024-05-10·15:38:04.000000·./usr/share/doc-base/python-igraph-doc.igraph503 -rw-r--r--···0·root·········(0)·root·········(0)······362·2024-05-10·15:38:04.000000·./usr/share/doc-base/python-igraph-doc.igraph
504 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/504 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/
505 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/overrides/505 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/overrides/
506 -rw-r--r--···0·root·········(0)·root·········(0)······154·2024-05-10·15:38:04.000000·./usr/share/lintian/overrides/python-igraph-doc506 -rw-r--r--···0·root·········(0)·root·········(0)······154·2024-05-10·15:38:04.000000·./usr/share/lintian/overrides/python-igraph-doc
507 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/css/badge_only.css·->·../../../../../sphinx_rtd_theme/static/css/badge_only.css507 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/css/badge_only.css·->·../../../../../sphinx_rtd_theme/static/css/badge_only.css
508 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/css/theme.css·->·../../../../../sphinx_rtd_theme/static/css/theme.css508 lrwxrwxrwx···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/css/theme.css·->·../../../../../sphinx_rtd_theme/static/css/theme.css
511 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/articulation_points.rst.txt
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
  
  
  
  
  
108 ..·rst-class::·sphx-glr-timing108 ..·rst-class::·sphx-glr-timing
  
109 ···**Total·running·time·of·the·script:**·(0·minutes·0.144·seconds)109 ···**Total·running·time·of·the·script:**·(0·minutes·0.547·seconds)
  
  
110 ..·_sphx_glr_download_tutorials_articulation_points.py:110 ..·_sphx_glr_download_tutorials_articulation_points.py:
  
111 ..·only::·html111 ..·only::·html
  
112 ··..·container::·sphx-glr-footer·sphx-glr-footer-example112 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
487 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/betweenness.rst.txt
    
Offset 193, 15 lines modifiedOffset 193, 15 lines modified
  
  
  
  
  
193 ..·rst-class::·sphx-glr-timing193 ..·rst-class::·sphx-glr-timing
  
194 ···**Total·running·time·of·the·script:**·(0·minutes·2.076·seconds)194 ···**Total·running·time·of·the·script:**·(0·minutes·6.622·seconds)
  
  
195 ..·_sphx_glr_download_tutorials_betweenness.py:195 ..·_sphx_glr_download_tutorials_betweenness.py:
  
196 ..·only::·html196 ..·only::·html
  
197 ··..·container::·sphx-glr-footer·sphx-glr-footer-example197 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
727 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/bipartite_matching.rst.txt
    
Offset 161, 22 lines modifiedOffset 161, 22 lines modified
  
  
161 ..·rst-class::·sphx-glr-script-out161 ..·rst-class::·sphx-glr-script-out
  
162 ·..·code-block::·none162 ·..·code-block::·none
  
  
163 ····<igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xffff70e51f40>163 ····<igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xffffad30ca70>
  
  
  
  
164 ..·rst-class::·sphx-glr-timing164 ..·rst-class::·sphx-glr-timing
  
165 ···**Total·running·time·of·the·script:**·(0·minutes·0.137·seconds)165 ···**Total·running·time·of·the·script:**·(0·minutes·0.464·seconds)
  
  
166 ..·_sphx_glr_download_tutorials_bipartite_matching.py:166 ..·_sphx_glr_download_tutorials_bipartite_matching.py:
  
167 ..·only::·html167 ..·only::·html
  
168 ··..·container::·sphx-glr-footer·sphx-glr-footer-example168 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
532 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/bipartite_matching_maxflow.rst.txt
    
Offset 176, 15 lines modifiedOffset 176, 15 lines modified
  
  
  
  
  
176 ..·rst-class::·sphx-glr-timing176 ..·rst-class::·sphx-glr-timing
  
177 ···**Total·running·time·of·the·script:**·(0·minutes·0.169·seconds)177 ···**Total·running·time·of·the·script:**·(0·minutes·0.352·seconds)
  
  
178 ..·_sphx_glr_download_tutorials_bipartite_matching_maxflow.py:178 ..·_sphx_glr_download_tutorials_bipartite_matching_maxflow.py:
  
179 ..·only::·html179 ..·only::·html
  
180 ··..·container::·sphx-glr-footer·sphx-glr-footer-example180 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
475 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/bridges.rst.txt
    
Offset 209, 15 lines modifiedOffset 209, 15 lines modified
  
  
  
  
  
209 ..·rst-class::·sphx-glr-timing209 ..·rst-class::·sphx-glr-timing
  
210 ···**Total·running·time·of·the·script:**·(0·minutes·0.403·seconds)210 ···**Total·running·time·of·the·script:**·(0·minutes·1.561·seconds)
  
  
211 ..·_sphx_glr_download_tutorials_bridges.py:211 ..·_sphx_glr_download_tutorials_bridges.py:
  
212 ..·only::·html212 ..·only::·html
  
213 ··..·container::·sphx-glr-footer·sphx-glr-footer-example213 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
511 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/cluster_contraction.rst.txt
    
Offset 401, 15 lines modifiedOffset 401, 15 lines modified
  
  
  
  
  
401 ..·rst-class::·sphx-glr-timing401 ..·rst-class::·sphx-glr-timing
  
402 ···**Total·running·time·of·the·script:**·(0·minutes·1.515·seconds)402 ···**Total·running·time·of·the·script:**·(0·minutes·5.798·seconds)
  
  
403 ..·_sphx_glr_download_tutorials_cluster_contraction.py:403 ..·_sphx_glr_download_tutorials_cluster_contraction.py:
  
404 ..·only::·html404 ..·only::·html
  
405 ··..·container::·sphx-glr-footer·sphx-glr-footer-example405 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
484 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/complement.rst.txt
    
Offset 173, 15 lines modifiedOffset 173, 15 lines modified
  
  
  
  
  
173 ..·rst-class::·sphx-glr-timing173 ..·rst-class::·sphx-glr-timing
  
174 ···**Total·running·time·of·the·script:**·(0·minutes·0.537·seconds)174 ···**Total·running·time·of·the·script:**·(0·minutes·1.759·seconds)
  
  
175 ..·_sphx_glr_download_tutorials_complement.py:175 ..·_sphx_glr_download_tutorials_complement.py:
  
176 ..·only::·html176 ..·only::·html
  
177 ··..·container::·sphx-glr-footer·sphx-glr-footer-example177 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
632 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/configuration.rst.txt
    
Offset 159, 15 lines modifiedOffset 159, 15 lines modified
  
159 ····To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,159 ····To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,
160 ····colors,·layout·etc.)·check·out·:ref:`tutorials-visual-style`.160 ····colors,·layout·etc.)·check·out·:ref:`tutorials-visual-style`.
  
  
161 ..·rst-class::·sphx-glr-timing161 ..·rst-class::·sphx-glr-timing
  
162 ···**Total·running·time·of·the·script:**·(0·minutes·1.141·seconds)162 ···**Total·running·time·of·the·script:**·(0·minutes·3.216·seconds)
  
  
163 ..·_sphx_glr_download_tutorials_configuration.py:163 ..·_sphx_glr_download_tutorials_configuration.py:
  
164 ..·only::·html164 ..·only::·html
  
165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
734 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/connected_components.rst.txt
    
Offset 117, 15 lines modifiedOffset 117, 15 lines modified
117 ····We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex117 ····We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex
118 ····colors,·since·255·in·the·:class:`igraph.drawing.colors.RainbowPalette`118 ····colors,·since·255·in·the·:class:`igraph.drawing.colors.RainbowPalette`
119 ····corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.119 ····corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.
  
  
120 ..·rst-class::·sphx-glr-timing120 ..·rst-class::·sphx-glr-timing
  
121 ···**Total·running·time·of·the·script:**·(0·minutes·0.576·seconds)121 ···**Total·running·time·of·the·script:**·(0·minutes·1.990·seconds)
  
  
122 ..·_sphx_glr_download_tutorials_connected_components.py:122 ..·_sphx_glr_download_tutorials_connected_components.py:
  
123 ..·only::·html123 ..·only::·html
  
124 ··..·container::·sphx-glr-footer·sphx-glr-footer-example124 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
840 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/delaunay-triangulation.rst.txt
    
Offset 140, 15 lines modifiedOffset 140, 15 lines modified
  
  
140 ..·rst-class::·sphx-glr-script-out140 ..·rst-class::·sphx-glr-script-out
  
141 ·..·code-block::·none141 ·..·code-block::·none
  
  
142 ····<igraph.Graph·object·at·0xffff8886b450>142 ····<igraph.Graph·object·at·0xffffad26f550>
  
  
  
143 ..·GENERATED·FROM·PYTHON·SOURCE·LINES·52-54143 ..·GENERATED·FROM·PYTHON·SOURCE·LINES·52-54
  
144 Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks144 Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks
145 like:145 like:
Offset 244, 15 lines modifiedOffset 244, 15 lines modified
  
  
  
  
  
244 ..·rst-class::·sphx-glr-timing244 ..·rst-class::·sphx-glr-timing
  
245 ···**Total·running·time·of·the·script:**·(0·minutes·0.636·seconds)245 ···**Total·running·time·of·the·script:**·(0·minutes·1.581·seconds)
  
  
246 ..·_sphx_glr_download_tutorials_delaunay-triangulation.py:246 ..·_sphx_glr_download_tutorials_delaunay-triangulation.py:
  
247 ..·only::·html247 ..·only::·html
  
248 ··..·container::·sphx-glr-footer·sphx-glr-footer-example248 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
487 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/erdos_renyi.rst.txt
    
Offset 186, 15 lines modifiedOffset 186, 15 lines modified
  
  
  
  
  
186 ..·rst-class::·sphx-glr-timing186 ..·rst-class::·sphx-glr-timing
  
187 ···**Total·running·time·of·the·script:**·(0·minutes·0.857·seconds)187 ···**Total·running·time·of·the·script:**·(0·minutes·2.310·seconds)
  
  
188 ..·_sphx_glr_download_tutorials_erdos_renyi.py:188 ..·_sphx_glr_download_tutorials_erdos_renyi.py:
  
189 ..·only::·html189 ..·only::·html
  
190 ··..·container::·sphx-glr-footer·sphx-glr-footer-example190 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
490 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/generate_dag.rst.txt
    
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
  
  
  
  
  
147 ..·rst-class::·sphx-glr-timing147 ..·rst-class::·sphx-glr-timing
  
148 ···**Total·running·time·of·the·script:**·(0·minutes·0.507·seconds)148 ···**Total·running·time·of·the·script:**·(0·minutes·1.229·seconds)
  
  
149 ..·_sphx_glr_download_tutorials_generate_dag.py:149 ..·_sphx_glr_download_tutorials_generate_dag.py:
  
150 ..·only::·html150 ..·only::·html
  
151 ··..·container::·sphx-glr-footer·sphx-glr-footer-example151 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
487 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/isomorphism.rst.txt
    
Offset 154, 15 lines modifiedOffset 154, 15 lines modified
  
  
  
  
  
154 ..·rst-class::·sphx-glr-timing154 ..·rst-class::·sphx-glr-timing
  
155 ···**Total·running·time·of·the·script:**·(0·minutes·0.293·seconds)155 ···**Total·running·time·of·the·script:**·(0·minutes·1.083·seconds)
  
  
156 ..·_sphx_glr_download_tutorials_isomorphism.py:156 ..·_sphx_glr_download_tutorials_isomorphism.py:
  
157 ..·only::·html157 ..·only::·html
  
158 ··..·container::·sphx-glr-footer·sphx-glr-footer-example158 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
475 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/maxflow.rst.txt
    
Offset 121, 15 lines modifiedOffset 121, 15 lines modified
  
  
  
  
  
121 ..·rst-class::·sphx-glr-timing121 ..·rst-class::·sphx-glr-timing
  
122 ···**Total·running·time·of·the·script:**·(0·minutes·0.107·seconds)122 ···**Total·running·time·of·the·script:**·(0·minutes·0.282·seconds)
  
  
123 ..·_sphx_glr_download_tutorials_maxflow.py:123 ..·_sphx_glr_download_tutorials_maxflow.py:
  
124 ..·only::·html124 ..·only::·html
  
125 ··..·container::·sphx-glr-footer·sphx-glr-footer-example125 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
520 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/minimum_spanning_trees.rst.txt
    
Offset 141, 15 lines modifiedOffset 141, 15 lines modified
  
  
  
  
  
141 ..·rst-class::·sphx-glr-timing141 ..·rst-class::·sphx-glr-timing
  
142 ···**Total·running·time·of·the·script:**·(0·minutes·0.355·seconds)142 ···**Total·running·time·of·the·script:**·(0·minutes·1.350·seconds)
  
  
143 ..·_sphx_glr_download_tutorials_minimum_spanning_trees.py:143 ..·_sphx_glr_download_tutorials_minimum_spanning_trees.py:
  
144 ..·only::·html144 ..·only::·html
  
145 ··..·container::·sphx-glr-footer·sphx-glr-footer-example145 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
511 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/online_user_actions.rst.txt
    
Offset 245, 15 lines modifiedOffset 245, 15 lines modified
  
  
  
  
  
245 ..·rst-class::·sphx-glr-timing245 ..·rst-class::·sphx-glr-timing
  
246 ···**Total·running·time·of·the·script:**·(0·minutes·0.506·seconds)246 ···**Total·running·time·of·the·script:**·(0·minutes·0.837·seconds)
  
  
247 ..·_sphx_glr_download_tutorials_online_user_actions.py:247 ..·_sphx_glr_download_tutorials_online_user_actions.py:
  
248 ..·only::·html248 ..·only::·html
  
249 ··..·container::·sphx-glr-footer·sphx-glr-footer-example249 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
599 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/quickstart.rst.txt
    
Offset 104, 15 lines modifiedOffset 104, 15 lines modified
104 ····#·Export·and·import·a·graph·as·a·GML·file.104 ····#·Export·and·import·a·graph·as·a·GML·file.
105 ····g.save("social_network.gml")105 ····g.save("social_network.gml")
106 ····g·=·ig.load("social_network.gml")106 ····g·=·ig.load("social_network.gml")
  
  
107 ..·rst-class::·sphx-glr-timing107 ..·rst-class::·sphx-glr-timing
  
108 ···**Total·running·time·of·the·script:**·(0·minutes·0.256·seconds)108 ···**Total·running·time·of·the·script:**·(0·minutes·0.954·seconds)
  
  
109 ..·_sphx_glr_download_tutorials_quickstart.py:109 ..·_sphx_glr_download_tutorials_quickstart.py:
  
110 ..·only::·html110 ..·only::·html
  
111 ··..·container::·sphx-glr-footer·sphx-glr-footer-example111 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
7.44 KB
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/ring_animation.rst.txt
    
Offset 339, 62 lines modifiedOffset 339, 62 lines modified
339 ·····.anim-state·input·{339 ·····.anim-state·input·{
340 ·········margin:·0;340 ·········margin:·0;
341 ·········vertical-align:·middle;341 ·········vertical-align:·middle;
342 ·····}342 ·····}
343 ·····</style>343 ·····</style>
  
344 ·····<div·class="animation">344 ·····<div·class="animation">
345 ·······<img·id="_anim_img292cdf34c0c24f40b0d77c4691efdfa9">345 ·······<img·id="_anim_img09b26036bf944699b8e0a4b4aaf3f17c">
346 ·······<div·class="anim-controls">346 ·······<div·class="anim-controls">
347 ·········<input·id="_anim_slider292cdf34c0c24f40b0d77c4691efdfa9"·type="range"·class="anim-slider"347 ·········<input·id="_anim_slider09b26036bf944699b8e0a4b4aaf3f17c"·type="range"·class="anim-slider"
348 ················name="points"·min="0"·max="1"·step="1"·value="0"348 ················name="points"·min="0"·max="1"·step="1"·value="0"
349 ················oninput="anim292cdf34c0c24f40b0d77c4691efdfa9.set_frame(parseInt(this.value));">349 ················oninput="anim09b26036bf944699b8e0a4b4aaf3f17c.set_frame(parseInt(this.value));">
350 ·········<div·class="anim-buttons">350 ·········<div·class="anim-buttons">
351 ···········<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.slower()">351 ···········<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.slower()">
352 ···············<i·class="fa·fa-minus"></i></button>352 ···············<i·class="fa·fa-minus"></i></button>
353 ···········<button·title="First·frame"·aria-label="First·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.first_frame()">353 ···········<button·title="First·frame"·aria-label="First·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.first_frame()">
354 ·············<i·class="fa·fa-fast-backward"></i></button>354 ·············<i·class="fa·fa-fast-backward"></i></button>
355 ···········<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.previous_frame()">355 ···········<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.previous_frame()">
356 ···············<i·class="fa·fa-step-backward"></i></button>356 ···············<i·class="fa·fa-step-backward"></i></button>
357 ···········<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.reverse_animation()">357 ···········<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.reverse_animation()">
358 ···············<i·class="fa·fa-play·fa-flip-horizontal"></i></button>358 ···············<i·class="fa·fa-play·fa-flip-horizontal"></i></button>
359 ···········<button·title="Pause"·aria-label="Pause"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.pause_animation()">359 ···········<button·title="Pause"·aria-label="Pause"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.pause_animation()">
360 ···············<i·class="fa·fa-pause"></i></button>360 ···············<i·class="fa·fa-pause"></i></button>
361 ···········<button·title="Play"·aria-label="Play"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.play_animation()">361 ···········<button·title="Play"·aria-label="Play"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.play_animation()">
362 ···············<i·class="fa·fa-play"></i></button>362 ···············<i·class="fa·fa-play"></i></button>
363 ···········<button·title="Next·frame"·aria-label="Next·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.next_frame()">363 ···········<button·title="Next·frame"·aria-label="Next·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.next_frame()">
364 ···············<i·class="fa·fa-step-forward"></i></button>364 ···············<i·class="fa·fa-step-forward"></i></button>
365 ···········<button·title="Last·frame"·aria-label="Last·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.last_frame()">365 ···········<button·title="Last·frame"·aria-label="Last·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.last_frame()">
366 ···············<i·class="fa·fa-fast-forward"></i></button>366 ···············<i·class="fa·fa-fast-forward"></i></button>
367 ···········<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.faster()">367 ···········<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.faster()">
368 ···············<i·class="fa·fa-plus"></i></button>368 ···············<i·class="fa·fa-plus"></i></button>
369 ·········</div>369 ·········</div>
370 ·········<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_select292cdf34c0c24f40b0d77c4691efdfa9"370 ·········<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_select09b26036bf944699b8e0a4b4aaf3f17c"
371 ···············class="anim-state">371 ···············class="anim-state">
372 ···········<input·type="radio"·name="state"·value="once"·id="_anim_radio1_292cdf34c0c24f40b0d77c4691efdfa9"372 ···········<input·type="radio"·name="state"·value="once"·id="_anim_radio1_09b26036bf944699b8e0a4b4aaf3f17c"
373 ··················>373 ··················>
374 ···········<label·for="_anim_radio1_292cdf34c0c24f40b0d77c4691efdfa9">Once</label>374 ···········<label·for="_anim_radio1_09b26036bf944699b8e0a4b4aaf3f17c">Once</label>
375 ···········<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_292cdf34c0c24f40b0d77c4691efdfa9"375 ···········<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_09b26036bf944699b8e0a4b4aaf3f17c"
376 ··················checked>376 ··················checked>
377 ···········<label·for="_anim_radio2_292cdf34c0c24f40b0d77c4691efdfa9">Loop</label>377 ···········<label·for="_anim_radio2_09b26036bf944699b8e0a4b4aaf3f17c">Loop</label>
378 ···········<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_292cdf34c0c24f40b0d77c4691efdfa9"378 ···········<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_09b26036bf944699b8e0a4b4aaf3f17c"
379 ··················>379 ··················>
380 ···········<label·for="_anim_radio3_292cdf34c0c24f40b0d77c4691efdfa9">Reflect</label>380 ···········<label·for="_anim_radio3_09b26036bf944699b8e0a4b4aaf3f17c">Reflect</label>
381 ·········</form>381 ·········</form>
382 ·······</div>382 ·······</div>
383 ·····</div>383 ·····</div>
  
  
384 ·····<script·language="javascript">384 ·····<script·language="javascript">
385 ·······/*·Instantiate·the·Animation·class.·*/385 ·······/*·Instantiate·the·Animation·class.·*/
386 ·······/*·The·IDs·given·should·match·those·used·in·the·template·above.·*/386 ·······/*·The·IDs·given·should·match·those·used·in·the·template·above.·*/
387 ·······(function()·{387 ·······(function()·{
388 ·········var·img_id·=·"_anim_img292cdf34c0c24f40b0d77c4691efdfa9"; 
389 ·········var·slider_id·=·"_anim_slider292cdf34c0c24f40b0d77c4691efdfa9"; 
390 ·········var·loop_select_id·=·"_anim_loop_select292cdf34c0c24f40b0d77c4691efdfa9";388 ·········var·img_id·=·"_anim_img09b26036bf944699b8e0a4b4aaf3f17c";
 389 ·········var·slider_id·=·"_anim_slider09b26036bf944699b8e0a4b4aaf3f17c";
 390 ·········var·loop_select_id·=·"_anim_loop_select09b26036bf944699b8e0a4b4aaf3f17c";
391 ·········var·frames·=·new·Array(12);391 ·········var·frames·=·new·Array(12);
392 ····392 ····
393 ·······frames[0]·=·"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\393 ·······frames[0]·=·"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
394 ·····bGliIHZlcnNpb24zLjguMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/H5lhTAAAACXBIWXMAAA9h\394 ·····bGliIHZlcnNpb24zLjguMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/H5lhTAAAACXBIWXMAAA9h\
395 ·····AAAPYQGoP6dpAAAIyUlEQVR4nO3WMQEAIAzAMMC/5+ECjiYKenbPzCwAADLO7wAAAN4ygAAAMQYQ\395 ·····AAAPYQGoP6dpAAAIyUlEQVR4nO3WMQEAIAzAMMC/5+ECjiYKenbPzCwAADLO7wAAAN4ygAAAMQYQ\
396 ·····ACDGAAIAxBhAAIAYAwgAEGMAAQBiDCAAQIwBBACIMYAAADEGEAAgxgACAMQYQACAGAMIABBjAAEA\396 ·····ACDGAAIAxBhAAIAYAwgAEGMAAQBiDCAAQIwBBACIMYAAADEGEAAgxgACAMQYQACAGAMIABBjAAEA\
397 ·····YgwgAECMAQQAiDGAAAAxBhAAIMYAAgDEGEAAgBgDCAAQYwABAGIMIABAjAEEAIgxgAAAMQYQACDG\397 ·····YgwgAECMAQQAiDGAAAAxBhAAIMYAAgDEGEAAgBgDCAAQYwABAGIMIABAjAEEAIgxgAAAMQYQACDG\
Offset 2920, 15 lines modifiedOffset 2920, 15 lines modified
2920 ·····EAABAABM5v8ATgU6h7aNzegAAAAASUVORK5CYII=\2920 ·····EAABAABM5v8ATgU6h7aNzegAAAAASUVORK5CYII=\
2921 ·····"2921 ·····"
  
  
2922 ·········/*·set·a·timeout·to·make·sure·all·the·above·elements·are·created·before2922 ·········/*·set·a·timeout·to·make·sure·all·the·above·elements·are·created·before
2923 ············the·object·is·initialized.·*/2923 ············the·object·is·initialized.·*/
2924 ·········setTimeout(function()·{2924 ·········setTimeout(function()·{
2925 ·············anim292cdf34c0c24f40b0d77c4691efdfa9·=·new·Animation(frames,·img_id,·slider_id,·500.0,2925 ·············anim09b26036bf944699b8e0a4b4aaf3f17c·=·new·Animation(frames,·img_id,·slider_id,·500.0,
2926 ······································loop_select_id);2926 ······································loop_select_id);
2927 ·········},·0);2927 ·········},·0);
2928 ·······})()2928 ·······})()
2929 ·····</script>2929 ·····</script>
  
  
  
Offset 2945, 15 lines modifiedOffset 2945, 15 lines modified
2945 ···example,·this·approach·is·not·very·efficient.·Thinking·of·more·efficient2945 ···example,·this·approach·is·not·very·efficient.·Thinking·of·more·efficient
2946 ···approaches,·e.g.·vertices·with·zero·radius,·is·a·useful·exercise·to·learn2946 ···approaches,·e.g.·vertices·with·zero·radius,·is·a·useful·exercise·to·learn
2947 ···the·combination·of·igraph·and·matplotlib.2947 ···the·combination·of·igraph·and·matplotlib.
  
  
2948 ..·rst-class::·sphx-glr-timing2948 ..·rst-class::·sphx-glr-timing
  
2949 ···**Total·running·time·of·the·script:**·(0·minutes·2.260·seconds)2949 ···**Total·running·time·of·the·script:**·(0·minutes·7.495·seconds)
  
  
2950 ..·_sphx_glr_download_tutorials_ring_animation.py:2950 ..·_sphx_glr_download_tutorials_ring_animation.py:
  
2951 ..·only::·html2951 ..·only::·html
  
2952 ··..·container::·sphx-glr-footer·sphx-glr-footer-example2952 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
535 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/shortest_path_visualisation.rst.txt
    
Offset 189, 15 lines modifiedOffset 189, 15 lines modified
  
  
  
  
  
189 ..·rst-class::·sphx-glr-timing189 ..·rst-class::·sphx-glr-timing
  
190 ···**Total·running·time·of·the·script:**·(0·minutes·0.115·seconds)190 ···**Total·running·time·of·the·script:**·(0·minutes·0.310·seconds)
  
  
191 ..·_sphx_glr_download_tutorials_shortest_path_visualisation.py:191 ..·_sphx_glr_download_tutorials_shortest_path_visualisation.py:
  
192 ..·only::·html192 ..·only::·html
  
193 ··..·container::·sphx-glr-footer·sphx-glr-footer-example193 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
822 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/simplify.rst.txt
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
  
  
88 ..·rst-class::·sphx-glr-script-out88 ..·rst-class::·sphx-glr-script-out
  
89 ·..·code-block::·none89 ·..·code-block::·none
  
  
90 ····<igraph.Graph·object·at·0xffff8886b450>90 ····<igraph.Graph·object·at·0xffffad26f550>
  
  
  
91 ..·GENERATED·FROM·PYTHON·SOURCE·LINES·38-4091 ..·GENERATED·FROM·PYTHON·SOURCE·LINES·38-40
  
92 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let's92 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let's
93 choose·a·consistent·visual·style:93 choose·a·consistent·visual·style:
Offset 161, 15 lines modifiedOffset 161, 15 lines modified
  
  
  
  
  
161 ..·rst-class::·sphx-glr-timing161 ..·rst-class::·sphx-glr-timing
  
162 ···**Total·running·time·of·the·script:**·(0·minutes·0.176·seconds)162 ···**Total·running·time·of·the·script:**·(0·minutes·0.530·seconds)
  
  
163 ..·_sphx_glr_download_tutorials_simplify.py:163 ..·_sphx_glr_download_tutorials_simplify.py:
  
164 ..·only::·html164 ..·only::·html
  
165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
636 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/spanning_trees.rst.txt
    
Offset 161, 15 lines modifiedOffset 161, 15 lines modified
161 ..·note::161 ..·note::
162 ··To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,162 ··To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,
163 ··you·can·call·`ax.invert_yaxis()`·before·`plt.show()`.163 ··you·can·call·`ax.invert_yaxis()`·before·`plt.show()`.
  
  
164 ..·rst-class::·sphx-glr-timing164 ..·rst-class::·sphx-glr-timing
  
165 ···**Total·running·time·of·the·script:**·(0·minutes·0.429·seconds)165 ···**Total·running·time·of·the·script:**·(0·minutes·1.404·seconds)
  
  
166 ..·_sphx_glr_download_tutorials_spanning_trees.py:166 ..·_sphx_glr_download_tutorials_spanning_trees.py:
  
167 ..·only::·html167 ..·only::·html
  
168 ··..·container::·sphx-glr-footer·sphx-glr-footer-example168 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
502 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/topological_sort.rst.txt
    
Offset 179, 15 lines modifiedOffset 179, 15 lines modified
  
  
  
  
  
179 ..·rst-class::·sphx-glr-timing179 ..·rst-class::·sphx-glr-timing
  
180 ···**Total·running·time·of·the·script:**·(0·minutes·0.116·seconds)180 ···**Total·running·time·of·the·script:**·(0·minutes·0.322·seconds)
  
  
181 ..·_sphx_glr_download_tutorials_topological_sort.py:181 ..·_sphx_glr_download_tutorials_topological_sort.py:
  
182 ..·only::·html182 ..·only::·html
  
183 ··..·container::·sphx-glr-footer·sphx-glr-footer-example183 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
490 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visual_style.rst.txt
    
Offset 212, 15 lines modifiedOffset 212, 15 lines modified
  
  
  
  
  
212 ..·rst-class::·sphx-glr-timing212 ..·rst-class::·sphx-glr-timing
  
213 ···**Total·running·time·of·the·script:**·(0·minutes·1.950·seconds)213 ···**Total·running·time·of·the·script:**·(0·minutes·4.414·seconds)
  
  
214 ..·_sphx_glr_download_tutorials_visual_style.py:214 ..·_sphx_glr_download_tutorials_visual_style.py:
  
215 ..·only::·html215 ..·only::·html
  
216 ··..·container::·sphx-glr-footer·sphx-glr-footer-example216 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
506 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_cliques.rst.txt
    
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
  
  
  
  
  
155 ..·rst-class::·sphx-glr-timing155 ..·rst-class::·sphx-glr-timing
  
156 ···**Total·running·time·of·the·script:**·(0·minutes·8.586·seconds)156 ···**Total·running·time·of·the·script:**·(0·minutes·25.945·seconds)
  
  
157 ..·_sphx_glr_download_tutorials_visualize_cliques.py:157 ..·_sphx_glr_download_tutorials_visualize_cliques.py:
  
158 ..·only::·html158 ..·only::·html
  
159 ··..·container::·sphx-glr-footer·sphx-glr-footer-example159 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
632 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_communities.rst.txt
    
Offset 153, 15 lines modifiedOffset 153, 15 lines modified
  
153 For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,153 For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,
154 check·out·:ref:`tutorials-cluster-graph`.154 check·out·:ref:`tutorials-cluster-graph`.
  
  
155 ..·rst-class::·sphx-glr-timing155 ..·rst-class::·sphx-glr-timing
  
156 ···**Total·running·time·of·the·script:**·(0·minutes·0.467·seconds)156 ···**Total·running·time·of·the·script:**·(0·minutes·1.711·seconds)
  
  
157 ..·_sphx_glr_download_tutorials_visualize_communities.py:157 ..·_sphx_glr_download_tutorials_visualize_communities.py:
  
158 ..·only::·html158 ..·only::·html
  
159 ··..·container::·sphx-glr-footer·sphx-glr-footer-example159 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
4.89 KB
./usr/share/doc/python-igraph-doc/html/searchindex.js
4.78 KB
js-beautify {}
    
Offset 464, 137 lines modifiedOffset 464, 136 lines modified
464 ········"013":·7,464 ········"013":·7,
465 ········"02":·[7,·8,·9],465 ········"02":·[7,·8,·9],
466 ········"05":·[8,·9],466 ········"05":·[8,·9],
467 ········"052":·7,467 ········"052":·7,
468 ········"058":·7,468 ········"058":·7,
469 ········"067":·7,469 ········"067":·7,
470 ········"073":·7,470 ········"073":·7,
471 ········"076":·11, 
472 ········"079":·7,471 ········"079":·7,
 472 ········"083":·23,
473 ········"08f":·[8,·9],473 ········"08f":·[8,·9],
474 ········"0xffff70e51f40":·12, 
475 ········"0xffff8886b450":·[19,·30],474 ········"0xffffad26f550":·[19,·30],
 475 ········"0xffffad30ca70":·12,
476 ········"1":·[0,·4,·5,·6,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·19,·20,·21,·23,·24,·25,·26,·27,·28,·29,·30,·32,·33,·34,·35,·36],476 ········"1":·[0,·4,·5,·6,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·19,·20,·21,·23,·24,·25,·26,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36],
477 ········"10":·[0,·4,·5,·7,·8,·9,·11,·13,·14,·15,·16,·26,·28],477 ········"10":·[0,·4,·5,·7,·8,·9,·11,·13,·14,·15,·16,·26,·28],
478 ········"100":·[0,·8,·9,·15,·17,·19,·35,·36],478 ········"100":·[0,·8,·9,·15,·17,·19,·35,·36],
479 ········"10000":·9,479 ········"10000":·9,
480 ········"107":·24, 
481 ········"11":·[13,·14,·27,·28],480 ········"11":·[13,·14,·27,·28],
482 ········"111223":·4,481 ········"111223":·4,
483 ········"112222":·4,482 ········"112222":·4,
484 ········"115":·29, 
485 ········"116":·32, 
486 ········"12":·[8,·9,·14,·27,·28],483 ········"12":·[8,·9,·14,·27,·28],
487 ········"1205":·[8,·9],484 ········"1205":·[8,·9],
488 ········"1252":·4,485 ········"1252":·4,
489 ········"126":·[8,·9],486 ········"126":·[8,·9],
490 ········"127":·[8,·9],487 ········"127":·[8,·9],
491 ········"1282":·27,488 ········"1282":·27,
492 ········"13":·14,489 ········"13":·14,
493 ········"136":·25,490 ········"136":·25,
494 ········"137":·[7,·12],491 ········"137":·7,
495 ········"14":·[11,·14],492 ········"14":·[11,·14],
496 ········"141":·17, 
497 ········"142":·7,493 ········"142":·7,
498 ········"144":·10, 
499 ········"15":·[8,·9,·15,·17,·18,·20,·21,·23,·33],494 ········"15":·[8,·9,·15,·17,·18,·20,·21,·23,·33],
500 ········"150":·11,495 ········"150":·11,
501 ········"153":·7,496 ········"153":·7,
502 ········"16":·11,497 ········"16":·11,
503 ········"161":·7,498 ········"161":·7,
504 ········"169":·[7,·13],499 ········"169":·7,
505 ········"1695":·5,500 ········"1695":·5,
506 ········"176":·[7,·30],501 ········"176":·7,
507 ········"18":·[8,·9,·20],502 ········"18":·[8,·9,·20],
508 ········"194":·7,503 ········"194":·7,
509 ········"2":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·16,·19,·20,·23,·24,·26,·27,·28,·29,·30,·32,·33,·36],504 ········"2":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·16,·19,·20,·23,·24,·26,·27,·28,·29,·30,·32,·33,·36],
510 ········"20":·[8,·9,·11,·15,·20,·25,·30,·33,·35,·36],505 ········"20":·[8,·9,·11,·15,·20,·25,·30,·33,·35,·36],
511 ········"200":·[17,·18],506 ········"200":·[17,·18],
512 ········"2006":·5,507 ········"2006":·5,
513 ········"2009":·[8,·9],508 ········"2009":·[8,·9],
514 ········"201":·[7,·25],509 ········"201":·[7,·25],
515 ········"2021":·[8,·9],510 ········"2021":·[8,·9],
516 ········"2022":·3,511 ········"2022":·3,
517 ········"21":·20,512 ········"21":·20,
518 ········"216":·7,513 ········"216":·[7,·17],
519 ········"22":·[8,·9],514 ········"22":·[8,·9],
520 ········"222":·21,515 ········"222":·21,
 516 ········"229":·21,
521 ········"23":·[8,·9,·20],517 ········"23":·[8,·9,·20],
522 ········"2386714":·9,518 ········"2386714":·9,
523 ········"25":·[7,·8,·9,·23,·32],519 ········"25":·[7,·8,·9,·23,·32,·34],
524 ········"255":·[8,·9,·15,·18,·33],520 ········"255":·[8,·9,·15,·18,·33],
525 ········"256":·27, 
526 ········"260":·28, 
527 ········"270":·[8,·9],521 ········"270":·[8,·9],
528 ········"28":·20,522 ········"28":·20,
 523 ········"282":·24,
529 ········"287":·7,524 ········"287":·7,
530 ········"29":·[8,·9],525 ········"29":·[8,·9],
531 ········"293":·23, 
532 ········"2d":·[8,·9,·19,·28,·31,·36],526 ········"2d":·[8,·9,·19,·28,·31,·36],
533 ········"2r09ej221sk2k5":·26,527 ········"2r09ej221sk2k5":·26,
534 ········"3":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·17,·19,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·36],528 ········"3":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·17,·19,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·36],
535 ········"30":·[8,·9,·10,·12,·13,·14,·19,·21,·27,·33],529 ········"30":·[8,·9,·10,·12,·13,·14,·19,·21,·27,·33],
536 ········"300":·[8,·9],530 ········"300":·[8,·9],
537 ········"30745059034535":·11,531 ········"30745059034535":·11,
538 ········"31":·[8,·9],532 ········"31":·[8,·9],
 533 ········"310":·[20,·29],
539 ········"313":·7,534 ········"313":·7,
540 ········"3203ejew332323":·26,535 ········"3203ejew332323":·26,
541 ········"320eljl3lk3239":·26,536 ········"320eljl3lk3239":·26,
 537 ········"322":·32,
542 ········"332":·7,538 ········"332":·7,
543 ········"34":·[8,·9],539 ········"34":·[8,·9],
544 ········"35":·20,540 ········"35":·20,
545 ········"355":·25,541 ········"350":·25,
 542 ········"352":·13,
546 ········"36":·31,543 ········"36":·31,
547 ········"376":·[8,·9],544 ········"376":·[8,·9],
548 ········"38":·23,545 ········"38":·23,
549 ········"3d":·[8,·9,·36],546 ········"3d":·[8,·9,·36],
550 ········"4":·[0,·4,·8,·9,·10,·12,·13,·14,·15,·19,·23,·24,·27,·29,·30,·32,·33,·34,·36],547 ········"4":·[0,·4,·8,·9,·10,·12,·13,·14,·15,·19,·23,·24,·27,·29,·30,·32,·33,·34,·36],
551 ········"403":·14,548 ········"404":·31,
552 ········"40m11919332msa":·26,549 ········"40m11919332msa":·26,
 550 ········"414":·33,
553 ········"416":·7,551 ········"416":·7,
554 ········"429":·31, 
555 ········"44":·4,552 ········"44":·4,
556 ········"467":·35,553 ········"464":·12,
557 ········"47":·[8,·9],554 ········"47":·[8,·9],
558 ········"477":·11,555 ········"477":·11,
559 ········"494":·27,556 ········"494":·27,
 557 ········"495":·28,
560 ········"4r4320dkqpdokk":·26,558 ········"4r4320dkqpdokk":·26,
561 ········"5":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·16,·23,·24,·25,·27,·28,·29,·31,·32,·33,·34,·36],559 ········"5":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·16,·23,·24,·25,·27,·28,·29,·31,·32,·33,·34,·36],
562 ········"50":·[8,·9,·11,·18],560 ········"50":·[8,·9,·11,·18],
563 ········"500":·28,561 ········"500":·28,
564 ········"504":·7,562 ········"504":·7,
565 ········"506":·26, 
566 ········"507":·21, 
567 ········"515":·15, 
568 ········"516":·[8,·9],563 ········"516":·[8,·9],
569 ········"517":·6,564 ········"517":·6,
 565 ········"530":·30,
570 ········"537":·16,566 ········"547":·10,
571 ········"576":·18,567 ········"561":·14,
572 ········"586":·34,568 ········"581":·19,
573 ········"6":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·24,·29,·31],569 ········"6":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·24,·29,·31],
574 ········"600":·[8,·9],570 ········"600":·[8,·9],
575 ········"636":·19,571 ········"622":·11,
576 ········"65":·23,572 ········"65":·23,
577 ········"666":·29,573 ········"666":·29,
578 ········"7":·[4,·8,·9,·10,·11,·12,·13,·14,·15,·18,·24,·27,·29],574 ········"7":·[4,·8,·9,·10,·11,·12,·13,·14,·15,·18,·24,·27,·28,·29],
579 ········"711":·7,575 ········"711":·[7,·35],
580 ········"7142cf":·27,576 ········"7142cf":·27,
Max diff block lines reached; 763/4871 bytes (15.66%) of diff not shown.
3.68 KB
./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html
    
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 ····<span·class="n">vertex_frame_width</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">articulation_points</span>·<span·class="k">else</span>·<span·class="mi">1</span>·<span·class="k">for</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">vs</span><span·class="p">],</span>147 ····<span·class="n">vertex_frame_width</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">articulation_points</span>·<span·class="k">else</span>·<span·class="mi">1</span>·<span·class="k">for</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">vs</span><span·class="p">],</span>
148 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.8</span><span·class="p">,</span>148 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.8</span><span·class="p">,</span>
149 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;gray&#39;</span>149 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;gray&#39;</span>
150 <span·class="p">)</span>150 <span·class="p">)</span>
151 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>151 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
152 </pre></div>152 </pre></div>
153 </div>153 </div>
154 <img·src="../_images/sphx_glr_articulation_points_001.png"·srcset="../_images/sphx_glr_articulation_points_001.png"·alt="articulation·points"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.144·seconds)</p>154 <img·src="../_images/sphx_glr_articulation_points_001.png"·srcset="../_images/sphx_glr_articulation_points_001.png"·alt="articulation·points"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.547·seconds)</p>
155 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-articulation-points-py">155 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-articulation-points-py">
156 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">156 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
157 <p><a·class="reference·download·internal"·download=""·href="../_downloads/242671ca29595146630270920763946e/articulation_points.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">articulation_points.ipynb</span></code></a></p>157 <p><a·class="reference·download·internal"·download=""·href="../_downloads/242671ca29595146630270920763946e/articulation_points.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">articulation_points.ipynb</span></code></a></p>
158 </div>158 </div>
159 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">159 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
160 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7716af8970a6076243a3268ecb8571bb/articulation_points.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">articulation_points.py</span></code></a></p>160 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7716af8970a6076243a3268ecb8571bb/articulation_points.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">articulation_points.py</span></code></a></p>
161 </div>161 </div>
1.12 KB
html2text {}
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 in·g.vs],66 in·g.vs],
67 ····vertex_frame_width·=·[3·if·v·in·articulation_points·else·1·for·v·in·g.vs],67 ····vertex_frame_width·=·[3·if·v·in·articulation_points·else·1·for·v·in·g.vs],
68 ····edge_width=0.8,68 ····edge_width=0.8,
69 ····edge_color='gray'69 ····edge_color='gray'
70 )70 )
71 plt.show()71 plt.show()
72 [articulation·points]72 [articulation·points]
73 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.144·seconds)73 T\x8To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8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8a_\x8r_\x8t_\x8i_\x8c_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s_\x8._\x8p_\x8y
76 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y76 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
77 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t77 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
78 ===============================================================================78 ===============================================================================
79 ©·Copyright·2010-2024,·The·igraph·development·team.79 ©·Copyright·2010-2024,·The·igraph·development·team.
80 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.80 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.29 KB
./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html
    
Offset 204, 15 lines modifiedOffset 204, 15 lines modified
204 </div>204 </div>
205 <img·src="../_images/sphx_glr_betweenness_001.png"·srcset="../_images/sphx_glr_betweenness_001.png"·alt="betweenness"·class·=·"sphx-glr-single-img"/><div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">14.0</span>205 <img·src="../_images/sphx_glr_betweenness_001.png"·srcset="../_images/sphx_glr_betweenness_001.png"·alt="betweenness"·class·=·"sphx-glr-single-img"/><div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">14.0</span>
206 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">1.5</span>·<span·class="o">-</span>·<span·class="mf">16.0</span>206 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">1.5</span>·<span·class="o">-</span>·<span·class="mf">16.0</span>
207 <span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">753.8235063912693</span>207 <span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">753.8235063912693</span>
208 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">8.951984126984126</span>·<span·class="o">-</span>·<span·class="mf">477.30745059034535</span>208 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">8.951984126984126</span>·<span·class="o">-</span>·<span·class="mf">477.30745059034535</span>
209 </pre></div>209 </pre></div>
210 </div>210 </div>
211 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.076·seconds)</p>211 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·6.622·seconds)</p>
212 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-betweenness-py">212 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-betweenness-py">
213 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">213 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
214 <p><a·class="reference·download·internal"·download=""·href="../_downloads/5913b4a7cb974d0c722c100ffe6a770f/betweenness.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">betweenness.ipynb</span></code></a></p>214 <p><a·class="reference·download·internal"·download=""·href="../_downloads/5913b4a7cb974d0c722c100ffe6a770f/betweenness.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">betweenness.ipynb</span></code></a></p>
215 </div>215 </div>
216 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">216 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
217 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a7ec70a8d202cc065942f63712e4c54e/betweenness.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">betweenness.py</span></code></a></p>217 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a7ec70a8d202cc065942f63712e4c54e/betweenness.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">betweenness.py</span></code></a></p>
218 </div>218 </div>
1.08 KB
html2text {}
    
Offset 125, 15 lines modifiedOffset 125, 15 lines modified
125 fig.tight_layout(h_pad=1)125 fig.tight_layout(h_pad=1)
126 plt.show()126 plt.show()
127 [betweenness]127 [betweenness]
128 vertices:·0.0·-·14.0128 vertices:·0.0·-·14.0
129 edges:·1.5·-·16.0129 edges:·1.5·-·16.0
130 vertices:·0.0·-·753.8235063912693130 vertices:·0.0·-·753.8235063912693
131 edges:·8.951984126984126·-·477.30745059034535131 edges:·8.951984126984126·-·477.30745059034535
132 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.076·seconds)132 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·6.622·seconds)
133 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8b_\x8e_\x8t_\x8w_\x8e_\x8e_\x8n_\x8n_\x8e_\x8s_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b133 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8b_\x8e_\x8t_\x8w_\x8e_\x8e_\x8n_\x8n_\x8e_\x8s_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
134 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8b_\x8e_\x8t_\x8w_\x8e_\x8e_\x8n_\x8n_\x8e_\x8s_\x8s_\x8._\x8p_\x8y134 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8b_\x8e_\x8t_\x8w_\x8e_\x8e_\x8n_\x8n_\x8e_\x8s_\x8s_\x8._\x8p_\x8y
135 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y135 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
136 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t136 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
137 ===============================================================================137 ===============================================================================
138 ©·Copyright·2010-2024,·The·igraph·development·team.138 ©·Copyright·2010-2024,·The·igraph·development·team.
139 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.139 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
5.83 KB
./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html
    
Offset 176, 18 lines modifiedOffset 176, 18 lines modified
176 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>176 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>
177 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>177 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
178 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="mf">1.0</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">],</span>178 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="mf">1.0</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">],</span>
179 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;red&quot;</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s2">&quot;black&quot;</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">]</span>179 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;red&quot;</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s2">&quot;black&quot;</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">]</span>
180 <span·class="p">)</span>180 <span·class="p">)</span>
181 </pre></div>181 </pre></div>
182 </div>182 </div>
183 <img·src="../_images/sphx_glr_bipartite_matching_001.png"·srcset="../_images/sphx_glr_bipartite_matching_001.png"·alt="bipartite·matching"·class·=·"sphx-glr-single-img"/><div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">drawing</span><span·class="o">.</span><span·class="n">matplotlib</span><span·class="o">.</span><span·class="n">graph</span><span·class="o">.</span><span·class="n">GraphArtist</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xffff70e51f40</span><span·class="o">&gt;</span>183 <img·src="../_images/sphx_glr_bipartite_matching_001.png"·srcset="../_images/sphx_glr_bipartite_matching_001.png"·alt="bipartite·matching"·class·=·"sphx-glr-single-img"/><div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">drawing</span><span·class="o">.</span><span·class="n">matplotlib</span><span·class="o">.</span><span·class="n">graph</span><span·class="o">.</span><span·class="n">GraphArtist</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xffffad30ca70</span><span·class="o">&gt;</span>
184 </pre></div>184 </pre></div>
185 </div>185 </div>
186 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.137·seconds)</p>186 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.464·seconds)</p>
187 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-py">187 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-py">
188 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">188 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
189 <p><a·class="reference·download·internal"·download=""·href="../_downloads/9614fc864a096647cd89cc7ebaeb102a/bipartite_matching.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching.ipynb</span></code></a></p>189 <p><a·class="reference·download·internal"·download=""·href="../_downloads/9614fc864a096647cd89cc7ebaeb102a/bipartite_matching.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching.ipynb</span></code></a></p>
190 </div>190 </div>
191 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">191 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b91a50f4a4f6f4db7b965cf323d29344/bipartite_matching.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching.py</span></code></a></p>192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b91a50f4a4f6f4db7b965cf323d29344/bipartite_matching.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching.py</span></code></a></p>
193 </div>193 </div>
1.32 KB
html2text {}
    
Offset 85, 16 lines modifiedOffset 85, 16 lines modified
85 ····vertex_color="lightblue",85 ····vertex_color="lightblue",
86 ····edge_width=[3·if·e.target·==·matching.match_of(e.source)·else·1.0·for·e·in86 ····edge_width=[3·if·e.target·==·matching.match_of(e.source)·else·1.0·for·e·in
87 g.es],87 g.es],
88 ····edge_color=["red"·if·e.target·==·matching.match_of(e.source)·else·"black"88 ····edge_color=["red"·if·e.target·==·matching.match_of(e.source)·else·"black"
89 for·e·in·g.es]89 for·e·in·g.es]
90 )90 )
91 [bipartite·matching]91 [bipartite·matching]
92 <igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xffff70e51f40>92 <igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xffffad30ca70>
93 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.137·seconds)93 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o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\x8e_\x8__\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8p_\x8y
96 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y96 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
97 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t97 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
98 ===============================================================================98 ===============================================================================
99 ©·Copyright·2010-2024,·The·igraph·development·team.99 ©·Copyright·2010-2024,·The·igraph·development·team.
100 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.100 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
4.42 KB
./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching_maxflow.html
    
Offset 188, 15 lines modifiedOffset 188, 15 lines modified
188 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>188 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>
189 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;lightblue&quot;</span>·<span·class="k">if</span>·<span·class="n">i</span>·<span·class="o">&lt;</span>·<span·class="mi">9</span>·<span·class="k">else</span>·<span·class="s2">&quot;orange&quot;</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">11</span><span·class="p">)],</span>189 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;lightblue&quot;</span>·<span·class="k">if</span>·<span·class="n">i</span>·<span·class="o">&lt;</span>·<span·class="mi">9</span>·<span·class="k">else</span>·<span·class="s2">&quot;orange&quot;</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">11</span><span·class="p">)],</span>
190 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mf">1.0</span>·<span·class="o">+</span>·<span·class="n">flow</span><span·class="o">.</span><span·class="n">flow</span><span·class="p">[</span><span·class="n">i</span><span·class="p">]</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">ecount</span><span·class="p">())]</span>190 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mf">1.0</span>·<span·class="o">+</span>·<span·class="n">flow</span><span·class="o">.</span><span·class="n">flow</span><span·class="p">[</span><span·class="n">i</span><span·class="p">]</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">ecount</span><span·class="p">())]</span>
191 <span·class="p">)</span>191 <span·class="p">)</span>
192 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>192 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
193 </pre></div>193 </pre></div>
194 </div>194 </div>
195 <img·src="../_images/sphx_glr_bipartite_matching_maxflow_001.png"·srcset="../_images/sphx_glr_bipartite_matching_maxflow_001.png"·alt="bipartite·matching·maxflow"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.169·seconds)</p>195 <img·src="../_images/sphx_glr_bipartite_matching_maxflow_001.png"·srcset="../_images/sphx_glr_bipartite_matching_maxflow_001.png"·alt="bipartite·matching·maxflow"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.352·seconds)</p>
196 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-maxflow-py">196 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-maxflow-py">
197 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">197 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/80f52b7ca439904ca0fafc31d8c351c8/bipartite_matching_maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching_maxflow.ipynb</span></code></a></p>198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/80f52b7ca439904ca0fafc31d8c351c8/bipartite_matching_maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching_maxflow.ipynb</span></code></a></p>
199 </div>199 </div>
200 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">200 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d56003997f3293e821663aebb5b1e9d0/bipartite_matching_maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching_maxflow.py</span></code></a></p>201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d56003997f3293e821663aebb5b1e9d0/bipartite_matching_maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching_maxflow.py</span></code></a></p>
202 </div>202 </div>
1.23 KB
html2text {}
    
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 ····vertex_size=30,96 ····vertex_size=30,
97 ····vertex_label=range(g.vcount()),97 ····vertex_label=range(g.vcount()),
98 ····vertex_color=["lightblue"·if·i·<·9·else·"orange"·for·i·in·range(11)],98 ····vertex_color=["lightblue"·if·i·<·9·else·"orange"·for·i·in·range(11)],
99 ····edge_width=[1.0·+·flow.flow[i]·for·i·in·range(g.ecount())]99 ····edge_width=[1.0·+·flow.flow[i]·for·i·in·range(g.ecount())]
100 )100 )
101 plt.show()101 plt.show()
102 [bipartite·matching·maxflow]102 [bipartite·matching·maxflow]
103 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.169·seconds)103 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x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\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8b_\x8i_\x8p_\x8a_\x8r_\x8t_\x8i_\x8t_\x8e_\x8__\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8__\x8m_\x8a_\x8x_\x8f_\x8l_\x8o_\x8w_\x8._\x8p_\x8y
106 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y106 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
107 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t107 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
108 ===============================================================================108 ===============================================================================
109 ©·Copyright·2010-2024,·The·igraph·development·team.109 ©·Copyright·2010-2024,·The·igraph·development·team.
110 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.110 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.35 KB
./usr/share/doc/python-igraph-doc/html/tutorials/bridges.html
    
Offset 191, 15 lines modifiedOffset 191, 15 lines modified
191 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>······<span·class="c1">#·make·sure·labels·are·aligned·with·the·edge</span>191 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>······<span·class="c1">#·make·sure·labels·are·aligned·with·the·edge</span>
192 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;label&quot;</span><span·class="p">],</span>192 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;label&quot;</span><span·class="p">],</span>
193 ····<span·class="n">edge_label_color</span><span·class="o">=</span><span·class="s2">&quot;red&quot;</span>193 ····<span·class="n">edge_label_color</span><span·class="o">=</span><span·class="s2">&quot;red&quot;</span>
194 <span·class="p">)</span>194 <span·class="p">)</span>
195 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>195 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
196 </pre></div>196 </pre></div>
197 </div>197 </div>
198 <img·src="../_images/sphx_glr_bridges_002.png"·srcset="../_images/sphx_glr_bridges_002.png"·alt="bridges"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.403·seconds)</p>198 <img·src="../_images/sphx_glr_bridges_002.png"·srcset="../_images/sphx_glr_bridges_002.png"·alt="bridges"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.561·seconds)</p>
199 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bridges-py">199 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bridges-py">
200 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">200 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/0e3dd42ffedbd9a3484b540044bcfdc6/bridges.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bridges.ipynb</span></code></a></p>201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/0e3dd42ffedbd9a3484b540044bcfdc6/bridges.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bridges.ipynb</span></code></a></p>
202 </div>202 </div>
203 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">203 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
204 <p><a·class="reference·download·internal"·download=""·href="../_downloads/bae7aba824f72e4b23fc8060976ad889/bridges.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bridges.py</span></code></a></p>204 <p><a·class="reference·download·internal"·download=""·href="../_downloads/bae7aba824f72e4b23fc8060976ad889/bridges.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bridges.py</span></code></a></p>
205 </div>205 </div>
1.11 KB
html2text {}
    
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 ····edge_background="#FFF0",····#·transparent·background·color101 ····edge_background="#FFF0",····#·transparent·background·color
102 ····edge_align_label=True,······#·make·sure·labels·are·aligned·with·the·edge102 ····edge_align_label=True,······#·make·sure·labels·are·aligned·with·the·edge
103 ····edge_label=g.es["label"],103 ····edge_label=g.es["label"],
104 ····edge_label_color="red"104 ····edge_label_color="red"
105 )105 )
106 plt.show()106 plt.show()
107 [bridges]107 [bridges]
108 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.403·seconds)108 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.561·seconds)
109 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8b_\x8r_\x8i_\x8d_\x8g_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b109 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8b_\x8r_\x8i_\x8d_\x8g_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
110 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8b_\x8r_\x8i_\x8d_\x8g_\x8e_\x8s_\x8._\x8p_\x8y110 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8b_\x8r_\x8i_\x8d_\x8g_\x8e_\x8s_\x8._\x8p_\x8y
111 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y111 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
112 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t112 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
113 ===============================================================================113 ===============================================================================
114 ©·Copyright·2010-2024,·The·igraph·development·team.114 ©·Copyright·2010-2024,·The·igraph·development·team.
115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.45 KB
./usr/share/doc/python-igraph-doc/html/tutorials/cluster_contraction.html
    
Offset 338, 15 lines modifiedOffset 338, 15 lines modified
338 ····<span·class="n">bbox_to_anchor</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mf">1.0</span><span·class="p">),</span>338 ····<span·class="n">bbox_to_anchor</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mf">1.0</span><span·class="p">),</span>
339 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax2</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>339 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax2</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>
340 <span·class="p">)</span>340 <span·class="p">)</span>
  
341 <span·class="n">fig2</span><span·class="o">.</span><span·class="n">set_size_inches</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">,</span>·<span·class="mi">10</span><span·class="p">)</span>341 <span·class="n">fig2</span><span·class="o">.</span><span·class="n">set_size_inches</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">,</span>·<span·class="mi">10</span><span·class="p">)</span>
342 </pre></div>342 </pre></div>
343 </div>343 </div>
344 <img·src="../_images/sphx_glr_cluster_contraction_002.png"·srcset="../_images/sphx_glr_cluster_contraction_002.png"·alt="cluster·contraction"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.515·seconds)</p>344 <img·src="../_images/sphx_glr_cluster_contraction_002.png"·srcset="../_images/sphx_glr_cluster_contraction_002.png"·alt="cluster·contraction"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·5.798·seconds)</p>
345 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-cluster-contraction-py">345 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-cluster-contraction-py">
346 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">346 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
347 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f5753ecc0bf36a46d0f61753dfffd31a/cluster_contraction.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">cluster_contraction.ipynb</span></code></a></p>347 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f5753ecc0bf36a46d0f61753dfffd31a/cluster_contraction.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">cluster_contraction.ipynb</span></code></a></p>
348 </div>348 </div>
349 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">349 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
350 <p><a·class="reference·download·internal"·download=""·href="../_downloads/618e73474ffdd23b6647bbe6721ad6e3/cluster_contraction.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">cluster_contraction.py</span></code></a></p>350 <p><a·class="reference·download·internal"·download=""·href="../_downloads/618e73474ffdd23b6647bbe6721ad6e3/cluster_contraction.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">cluster_contraction.py</span></code></a></p>
351 </div>351 </div>
1.1 KB
html2text {}
    
Offset 237, 15 lines modifiedOffset 237, 15 lines modified
237 ····title='Community:',237 ····title='Community:',
238 ····bbox_to_anchor=(0,·1.0),238 ····bbox_to_anchor=(0,·1.0),
239 ····bbox_transform=ax2.transAxes,239 ····bbox_transform=ax2.transAxes,
240 )240 )
  
241 fig2.set_size_inches(10,·10)241 fig2.set_size_inches(10,·10)
242 [cluster·contraction]242 [cluster·contraction]
243 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.515·seconds)243 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·5.798·seconds)
244 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8c_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8t_\x8r_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b244 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8c_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8t_\x8r_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
245 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8c_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8t_\x8r_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y245 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8c_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8t_\x8r_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y
246 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y246 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
247 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t247 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
248 ===============================================================================248 ===============================================================================
249 ©·Copyright·2010-2024,·The·igraph·development·team.249 ©·Copyright·2010-2024,·The·igraph·development·team.
250 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.250 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.55 KB
./usr/share/doc/python-igraph-doc/html/tutorials/complement.html
    
Offset 185, 15 lines modifiedOffset 185, 15 lines modified
185 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>185 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>
186 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;black&quot;</span><span·class="p">,</span>186 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;black&quot;</span><span·class="p">,</span>
187 <span·class="p">)</span>187 <span·class="p">)</span>
188 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_title</span><span·class="p">(</span><span·class="s1">&#39;Complement·of·union·graph&#39;</span><span·class="p">)</span>188 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_title</span><span·class="p">(</span><span·class="s1">&#39;Complement·of·union·graph&#39;</span><span·class="p">)</span>
189 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>189 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
190 </pre></div>190 </pre></div>
191 </div>191 </div>
192 <img·src="../_images/sphx_glr_complement_001.png"·srcset="../_images/sphx_glr_complement_001.png"·alt="Original·graph,·Complement·graph,·Union·graph,·Complement·of·union·graph"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.537·seconds)</p>192 <img·src="../_images/sphx_glr_complement_001.png"·srcset="../_images/sphx_glr_complement_001.png"·alt="Original·graph,·Complement·graph,·Union·graph,·Complement·of·union·graph"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.759·seconds)</p>
193 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-complement-py">193 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-complement-py">
194 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">194 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/18a48ac28bf0a7d1df83e5bf8d86cf72/complement.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">complement.ipynb</span></code></a></p>195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/18a48ac28bf0a7d1df83e5bf8d86cf72/complement.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">complement.ipynb</span></code></a></p>
196 </div>196 </div>
197 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">197 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d1f9b5ec5915b527bd3029f0e97e652e/complement.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">complement.py</span></code></a></p>198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d1f9b5ec5915b527bd3029f0e97e652e/complement.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">complement.py</span></code></a></p>
199 </div>199 </div>
1.11 KB
html2text {}
    
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 ····target=axs[1,·1],95 ····target=axs[1,·1],
96 ····layout="circle",96 ····layout="circle",
97 ····vertex_color="black",97 ····vertex_color="black",
98 )98 )
99 axs[1,·1].set_title('Complement·of·union·graph')99 axs[1,·1].set_title('Complement·of·union·graph')
100 plt.show()100 plt.show()
101 [Original·graph,·Complement·graph,·Union·graph,·Complement·of·union·graph]101 [Original·graph,·Complement·graph,·Union·graph,·Complement·of·union·graph]
102 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.537·seconds)102 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.759·seconds)
103 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8i_\x8p_\x8y_\x8n_\x8b103 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
104 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8p_\x8y104 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8p_\x8y
105 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y105 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
106 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t106 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
107 ===============================================================================107 ===============================================================================
108 ©·Copyright·2010-2024,·The·igraph·development·team.108 ©·Copyright·2010-2024,·The·igraph·development·team.
109 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.109 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.1 KB
./usr/share/doc/python-igraph-doc/html/tutorials/configuration.html
    
Offset 167, 15 lines modifiedOffset 167, 15 lines modified
167 import·igraph·and·then·call·<code·class="docutils·literal·notranslate"><span·class="pre">ig.config.load(&quot;./path/to/config/file&quot;)</span></code></p>167 import·igraph·and·then·call·<code·class="docutils·literal·notranslate"><span·class="pre">ig.config.load(&quot;./path/to/config/file&quot;)</span></code></p>
168 </div>168 </div>
169 <div·class="admonition·note">169 <div·class="admonition·note">
170 <p·class="admonition-title">Note</p>170 <p·class="admonition-title">Note</p>
171 <p>To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,171 <p>To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,
172 colors,·layout·etc.)·check·out·<a·class="reference·internal"·href="visual_style.html#tutorials-visual-style"><span·class="std·std-ref">Visual·styling</span></a>.</p>172 colors,·layout·etc.)·check·out·<a·class="reference·internal"·href="visual_style.html#tutorials-visual-style"><span·class="std·std-ref">Visual·styling</span></a>.</p>
173 </div>173 </div>
174 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.141·seconds)</p>174 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·3.216·seconds)</p>
175 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-configuration-py">175 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-configuration-py">
176 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">176 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fd14e762ea0b4a045d94e852f04372f3/configuration.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">configuration.ipynb</span></code></a></p>177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fd14e762ea0b4a045d94e852f04372f3/configuration.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">configuration.ipynb</span></code></a></p>
178 </div>178 </div>
179 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">179 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
180 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a69ba5812cd93160ab9839c2aeb8b3a5/configuration.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">configuration.py</span></code></a></p>180 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a69ba5812cd93160ab9839c2aeb8b3a5/configuration.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">configuration.py</span></code></a></p>
181 </div>181 </div>
1.27 KB
html2text {}
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 Note77 Note
78 You·can·have·multiple·config·files:·specify·each·location·via·ig.config.save78 You·can·have·multiple·config·files:·specify·each·location·via·ig.config.save
79 ("./path/to/config/file").·To·load·a·specific·config,·import·igraph·and·then79 ("./path/to/config/file").·To·load·a·specific·config,·import·igraph·and·then
80 call·ig.config.load("./path/to/config/file")80 call·ig.config.load("./path/to/config/file")
81 Note81 Note
82 To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,·colors,82 To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,·colors,
83 layout·etc.)·check·out·_\x8V_\x8i_\x8s_\x8u_\x8a_\x8l_\x8·_\x8s_\x8t_\x8y_\x8l_\x8i_\x8n_\x8g.83 layout·etc.)·check·out·_\x8V_\x8i_\x8s_\x8u_\x8a_\x8l_\x8·_\x8s_\x8t_\x8y_\x8l_\x8i_\x8n_\x8g.
84 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.141·seconds)84 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·3.216·seconds)
85 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8u_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b85 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8u_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
86 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8u_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y86 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8u_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y
87 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y87 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
89 ===============================================================================89 ===============================================================================
90 ©·Copyright·2010-2024,·The·igraph·development·team.90 ©·Copyright·2010-2024,·The·igraph·development·team.
91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.35 KB
./usr/share/doc/python-igraph-doc/html/tutorials/connected_components.html
    
Offset 153, 15 lines modifiedOffset 153, 15 lines modified
153 </div>153 </div>
154 <img·src="../_images/sphx_glr_connected_components_001.png"·srcset="../_images/sphx_glr_connected_components_001.png"·alt="connected·components"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">154 <img·src="../_images/sphx_glr_connected_components_001.png"·srcset="../_images/sphx_glr_connected_components_001.png"·alt="connected·components"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">
155 <p·class="admonition-title">Note</p>155 <p·class="admonition-title">Note</p>
156 <p>We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex156 <p>We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex
157 colors,·since·255·in·the·<a·class="reference·external"·href="/en/latest/api/igraph.drawing.colors.RainbowPalette.html"·title="(in·igraph·v0.11.8)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">igraph.drawing.colors.RainbowPalette</span></code></a>157 colors,·since·255·in·the·<a·class="reference·external"·href="/en/latest/api/igraph.drawing.colors.RainbowPalette.html"·title="(in·igraph·v0.11.8)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">igraph.drawing.colors.RainbowPalette</span></code></a>
158 corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.</p>158 corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.</p>
159 </div>159 </div>
160 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.576·seconds)</p>160 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.990·seconds)</p>
161 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-connected-components-py">161 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-connected-components-py">
162 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">162 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
163 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a6b592f65e45d4dc0cd800dd966e8a73/connected_components.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">connected_components.ipynb</span></code></a></p>163 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a6b592f65e45d4dc0cd800dd966e8a73/connected_components.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">connected_components.ipynb</span></code></a></p>
164 </div>164 </div>
165 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">165 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
166 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7eae7ff0b0b32c69a5543e6ca66a80ad/connected_components.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">connected_components.py</span></code></a></p>166 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7eae7ff0b0b32c69a5543e6ca66a80ad/connected_components.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">connected_components.py</span></code></a></p>
167 </div>167 </div>
1.28 KB
html2text {}
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 )69 )
70 plt.show()70 plt.show()
71 [connected·components]71 [connected·components]
72 Note72 Note
73 We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex·colors,73 We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex·colors,
74 since·255·in·the·_\x8i_\x8g_\x8r_\x8a_\x8p_\x8h_\x8._\x8d_\x8r_\x8a_\x8w_\x8i_\x8n_\x8g_\x8._\x8c_\x8o_\x8l_\x8o_\x8r_\x8s_\x8._\x8R_\x8a_\x8i_\x8n_\x8b_\x8o_\x8w_\x8P_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e·corresponds·to·looping74 since·255·in·the·_\x8i_\x8g_\x8r_\x8a_\x8p_\x8h_\x8._\x8d_\x8r_\x8a_\x8w_\x8i_\x8n_\x8g_\x8._\x8c_\x8o_\x8l_\x8o_\x8r_\x8s_\x8._\x8R_\x8a_\x8i_\x8n_\x8b_\x8o_\x8w_\x8P_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e·corresponds·to·looping
75 back·to·red.·This·gives·us·nicely·distinct·hues.75 back·to·red.·This·gives·us·nicely·distinct·hues.
76 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.576·seconds)76 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.990·seconds)
77 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J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x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y79 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
81 ===============================================================================81 ===============================================================================
82 ©·Copyright·2010-2024,·The·igraph·development·team.82 ©·Copyright·2010-2024,·The·igraph·development·team.
83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
5.91 KB
./usr/share/doc/python-igraph-doc/html/tutorials/delaunay-triangulation.html
    
Offset 160, 15 lines modifiedOffset 160, 15 lines modified
160 </div>160 </div>
161 <p>Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some161 <p>Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some
162 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those162 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those
163 multiedges,·keeping·each·side·only·once:</p>163 multiedges,·keeping·each·side·only·once:</p>
164 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>164 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>
165 </pre></div>165 </pre></div>
166 </div>166 </div>
167 <div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">Graph</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xffff8886b450</span><span·class="o">&gt;</span>167 <div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">Graph</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xffffad26f550</span><span·class="o">&gt;</span>
168 </pre></div>168 </pre></div>
169 </div>169 </div>
170 <p>Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks170 <p>Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks
171 like:</p>171 like:</p>
172 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">fig</span><span·class="p">,</span>·<span·class="n">ax</span>·<span·class="o">=</span>·<span·class="n">plt</span><span·class="o">.</span><span·class="n">subplots</span><span·class="p">()</span>172 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">fig</span><span·class="p">,</span>·<span·class="n">ax</span>·<span·class="o">=</span>·<span·class="n">plt</span><span·class="o">.</span><span·class="n">subplots</span><span·class="p">()</span>
173 <span·class="n">ig</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span>173 <span·class="n">ig</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span>
174 ····<span·class="n">g</span><span·class="p">,</span>174 ····<span·class="n">g</span><span·class="p">,</span>
Offset 212, 15 lines modifiedOffset 212, 15 lines modified
212 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.2</span><span·class="p">,</span>212 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.2</span><span·class="p">,</span>
213 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>213 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>
214 <span·class="p">)</span>214 <span·class="p">)</span>
215 <span·class="n">ax</span><span·class="o">.</span><span·class="n">set</span><span·class="p">(</span><span·class="n">xlim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">),</span>·<span·class="n">ylim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">))</span>215 <span·class="n">ax</span><span·class="o">.</span><span·class="n">set</span><span·class="p">(</span><span·class="n">xlim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">),</span>·<span·class="n">ylim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">))</span>
216 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>216 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
217 </pre></div>217 </pre></div>
218 </div>218 </div>
219 <img·src="../_images/sphx_glr_delaunay-triangulation_002.png"·srcset="../_images/sphx_glr_delaunay-triangulation_002.png"·alt="delaunay·triangulation"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.636·seconds)</p>219 <img·src="../_images/sphx_glr_delaunay-triangulation_002.png"·srcset="../_images/sphx_glr_delaunay-triangulation_002.png"·alt="delaunay·triangulation"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.581·seconds)</p>
220 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-delaunay-triangulation-py">220 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-delaunay-triangulation-py">
221 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">221 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
222 <p><a·class="reference·download·internal"·download=""·href="../_downloads/84b5535aec2782912ca65d8fb310e523/delaunay-triangulation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">delaunay-triangulation.ipynb</span></code></a></p>222 <p><a·class="reference·download·internal"·download=""·href="../_downloads/84b5535aec2782912ca65d8fb310e523/delaunay-triangulation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">delaunay-triangulation.ipynb</span></code></a></p>
223 </div>223 </div>
224 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">224 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
225 <p><a·class="reference·download·internal"·download=""·href="../_downloads/e325ba6738c8eb1cffd598c9bd3b4f77/delaunay-triangulation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">delaunay-triangulation.py</span></code></a></p>225 <p><a·class="reference·download·internal"·download=""·href="../_downloads/e325ba6738c8eb1cffd598c9bd3b4f77/delaunay-triangulation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">delaunay-triangulation.py</span></code></a></p>
226 </div>226 </div>
1.64 KB
html2text {}
    
Offset 71, 15 lines modifiedOffset 71, 15 lines modified
71 ········(tri[1],·tri[2]),71 ········(tri[1],·tri[2]),
72 ········(tri[0],·tri[2]),72 ········(tri[0],·tri[2]),
73 ····])73 ····])
74 Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some74 Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some
75 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those75 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those
76 multiedges,·keeping·each·side·only·once:76 multiedges,·keeping·each·side·only·once:
77 g.simplify()77 g.simplify()
78 <igraph.Graph·object·at·0xffff8886b450>78 <igraph.Graph·object·at·0xffffad26f550>
79 Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks79 Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks
80 like:80 like:
81 fig,·ax·=·plt.subplots()81 fig,·ax·=·plt.subplots()
82 ig.plot(82 ig.plot(
83 ····g,83 ····g,
84 ····layout=layout,84 ····layout=layout,
85 ····target=ax,85 ····target=ax,
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ····vertex_size=0,114 ····vertex_size=0,
115 ····edge_width=0.2,115 ····edge_width=0.2,
116 ····edge_color="white",116 ····edge_color="white",
117 )117 )
118 ax.set(xlim=(0,·1),·ylim=(0,·1))118 ax.set(xlim=(0,·1),·ylim=(0,·1))
119 plt.show()119 plt.show()
120 [delaunay·triangulation]120 [delaunay·triangulation]
121 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·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\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8d_\x8e_\x8l_\x8a_\x8u_\x8n_\x8a_\x8y_\x8-_\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y
124 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y124 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
125 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t125 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
126 ===============================================================================126 ===============================================================================
127 ©·Copyright·2010-2024,·The·igraph·development·team.127 ©·Copyright·2010-2024,·The·igraph·development·team.
128 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.128 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.33 KB
./usr/share/doc/python-igraph-doc/html/tutorials/erdos_renyi.html
    
Offset 197, 15 lines modifiedOffset 197, 15 lines modified
197 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>197 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
198 ····<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">15</span>198 ····<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">15</span>
199 <span·class="p">)</span>199 <span·class="p">)</span>
200 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">&#39;N.·edges&#39;</span><span·class="p">)</span>200 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">&#39;N.·edges&#39;</span><span·class="p">)</span>
201 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>201 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
202 </pre></div>202 </pre></div>
203 </div>203 </div>
204 <img·src="../_images/sphx_glr_erdos_renyi_001.png"·srcset="../_images/sphx_glr_erdos_renyi_001.png"·alt="erdos·renyi"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.857·seconds)</p>204 <img·src="../_images/sphx_glr_erdos_renyi_001.png"·srcset="../_images/sphx_glr_erdos_renyi_001.png"·alt="erdos·renyi"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.310·seconds)</p>
205 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-erdos-renyi-py">205 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-erdos-renyi-py">
206 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">206 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
207 <p><a·class="reference·download·internal"·download=""·href="../_downloads/25d5caa797264a1f03d19440ae76dc03/erdos_renyi.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">erdos_renyi.ipynb</span></code></a></p>207 <p><a·class="reference·download·internal"·download=""·href="../_downloads/25d5caa797264a1f03d19440ae76dc03/erdos_renyi.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">erdos_renyi.ipynb</span></code></a></p>
208 </div>208 </div>
209 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">209 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
210 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b438976968d9cea7b775361a0531520c/erdos_renyi.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">erdos_renyi.py</span></code></a></p>210 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b438976968d9cea7b775361a0531520c/erdos_renyi.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">erdos_renyi.py</span></code></a></p>
211 </div>211 </div>
1.04 KB
html2text {}
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 ····layout="circle",108 ····layout="circle",
109 ····vertex_color="lightblue",109 ····vertex_color="lightblue",
110 ····vertex_size=15110 ····vertex_size=15
111 )111 )
112 axs[1,·0].set_ylabel('N.·edges')112 axs[1,·0].set_ylabel('N.·edges')
113 plt.show()113 plt.show()
114 [erdos·renyi]114 [erdos·renyi]
115 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.857·seconds)115 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.310·seconds)
116 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8r_\x8d_\x8o_\x8s_\x8__\x8r_\x8e_\x8n_\x8y_\x8i_\x8._\x8i_\x8p_\x8y_\x8n_\x8b116 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8r_\x8d_\x8o_\x8s_\x8__\x8r_\x8e_\x8n_\x8y_\x8i_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
117 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8e_\x8r_\x8d_\x8o_\x8s_\x8__\x8r_\x8e_\x8n_\x8y_\x8i_\x8._\x8p_\x8y117 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8e_\x8r_\x8d_\x8o_\x8s_\x8__\x8r_\x8e_\x8n_\x8y_\x8i_\x8._\x8p_\x8y
118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
120 ===============================================================================120 ===============================================================================
121 ©·Copyright·2010-2024,·The·igraph·development·team.121 ©·Copyright·2010-2024,·The·igraph·development·team.
122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.18 KB
./usr/share/doc/python-igraph-doc/html/tutorials/generate_dag.html
    
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;grey&quot;</span><span·class="p">,</span>155 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;grey&quot;</span><span·class="p">,</span>
156 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;#222&quot;</span><span·class="p">,</span>156 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;#222&quot;</span><span·class="p">,</span>
157 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>157 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>
158 <span·class="p">)</span>158 <span·class="p">)</span>
159 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>159 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
160 </pre></div>160 </pre></div>
161 </div>161 </div>
162 <img·src="../_images/sphx_glr_generate_dag_001.png"·srcset="../_images/sphx_glr_generate_dag_001.png"·alt="generate·dag"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.507·seconds)</p>162 <img·src="../_images/sphx_glr_generate_dag_001.png"·srcset="../_images/sphx_glr_generate_dag_001.png"·alt="generate·dag"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.229·seconds)</p>
163 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-generate-dag-py">163 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-generate-dag-py">
164 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">164 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
165 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b5f18d75acde9962f9eaea66530d3e8c/generate_dag.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">generate_dag.ipynb</span></code></a></p>165 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b5f18d75acde9962f9eaea66530d3e8c/generate_dag.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">generate_dag.ipynb</span></code></a></p>
166 </div>166 </div>
167 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">167 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
168 <p><a·class="reference·download·internal"·download=""·href="../_downloads/41b03534d9792d8dee4abf26a0ddb6df/generate_dag.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">generate_dag.py</span></code></a></p>168 <p><a·class="reference·download·internal"·download=""·href="../_downloads/41b03534d9792d8dee4abf26a0ddb6df/generate_dag.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">generate_dag.py</span></code></a></p>
169 </div>169 </div>
1.03 KB
html2text {}
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 ····vertex_size=15,69 ····vertex_size=15,
70 ····vertex_color="grey",70 ····vertex_color="grey",
71 ····edge_color="#222",71 ····edge_color="#222",
72 ····edge_width=1,72 ····edge_width=1,
73 )73 )
74 plt.show()74 plt.show()
75 [generate·dag]75 [generate·dag]
76 T\x8To\x8ot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y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8d_\x8a_\x8g_\x8._\x8p_\x8y
79 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y79 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
81 ===============================================================================81 ===============================================================================
82 ©·Copyright·2010-2024,·The·igraph·development·team.82 ©·Copyright·2010-2024,·The·igraph·development·team.
83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
5.09 KB
./usr/share/doc/python-igraph-doc/html/tutorials/isomorphism.html
    
Offset 189, 15 lines modifiedOffset 189, 15 lines modified
189 ····<span·class="o">**</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a><span·class="p">,</span>189 ····<span·class="o">**</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a><span·class="p">,</span>
190 <span·class="p">)</span>190 <span·class="p">)</span>
191 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.38</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g2</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>191 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.38</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g2</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>
192 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.65</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g2</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g3</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>192 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.65</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g2</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g3</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>
193 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>193 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
194 </pre></div>194 </pre></div>
195 </div>195 </div>
196 <img·src="../_images/sphx_glr_isomorphism_001.png"·srcset="../_images/sphx_glr_isomorphism_001.png"·alt="isomorphism"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.293·seconds)</p>196 <img·src="../_images/sphx_glr_isomorphism_001.png"·srcset="../_images/sphx_glr_isomorphism_001.png"·alt="isomorphism"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.083·seconds)</p>
197 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-isomorphism-py">197 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-isomorphism-py">
198 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">198 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/27a7c4b3d11014ddb5b8b2a44e30e734/isomorphism.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">isomorphism.ipynb</span></code></a></p>199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/27a7c4b3d11014ddb5b8b2a44e30e734/isomorphism.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">isomorphism.ipynb</span></code></a></p>
200 </div>200 </div>
201 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">201 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
202 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75f065515779d42d798e6f42e458354a/isomorphism.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">isomorphism.py</span></code></a></p>202 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75f065515779d42d798e6f42e458354a/isomorphism.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">isomorphism.py</span></code></a></p>
203 </div>203 </div>
1.16 KB
html2text {}
    
Offset 103, 15 lines modifiedOffset 103, 15 lines modified
103 )103 )
104 fig.text(0.38,·0.5,·'$\\simeq$'·if·g1.isomorphic(g2)·else·'$\\neq$',104 fig.text(0.38,·0.5,·'$\\simeq$'·if·g1.isomorphic(g2)·else·'$\\neq$',
105 fontsize=15,·ha='center',·va='center')105 fontsize=15,·ha='center',·va='center')
106 fig.text(0.65,·0.5,·'$\\simeq$'·if·g2.isomorphic(g3)·else·'$\\neq$',106 fig.text(0.65,·0.5,·'$\\simeq$'·if·g2.isomorphic(g3)·else·'$\\neq$',
107 fontsize=15,·ha='center',·va='center')107 fontsize=15,·ha='center',·va='center')
108 plt.show()108 plt.show()
109 [isomorphism]109 [isomorphism]
110 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.293·seconds)110 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.083·seconds)
111 _\x8D_\x8o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8l_\x8e_\x8r_\x8y113 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
114 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t114 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
115 ===============================================================================115 ===============================================================================
116 ©·Copyright·2010-2024,·The·igraph·development·team.116 ©·Copyright·2010-2024,·The·igraph·development·team.
117 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.117 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.19 KB
./usr/share/doc/python-igraph-doc/html/tutorials/maxflow.html
    
Offset 157, 15 lines modifiedOffset 157, 15 lines modified
157 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>157 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>
158 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>158 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>
159 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span>159 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span>
160 <span·class="p">)</span>160 <span·class="p">)</span>
161 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>161 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
162 </pre></div>162 </pre></div>
163 </div>163 </div>
164 <img·src="../_images/sphx_glr_maxflow_001.png"·srcset="../_images/sphx_glr_maxflow_001.png"·alt="maxflow"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.107·seconds)</p>164 <img·src="../_images/sphx_glr_maxflow_001.png"·srcset="../_images/sphx_glr_maxflow_001.png"·alt="maxflow"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.282·seconds)</p>
165 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-maxflow-py">165 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-maxflow-py">
166 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">166 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
167 <p><a·class="reference·download·internal"·download=""·href="../_downloads/ec967e96145be835811b34f369ceb4c2/maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">maxflow.ipynb</span></code></a></p>167 <p><a·class="reference·download·internal"·download=""·href="../_downloads/ec967e96145be835811b34f369ceb4c2/maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">maxflow.ipynb</span></code></a></p>
168 </div>168 </div>
169 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">169 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
170 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fb1ace091b479d9370bc8348d34bb5e6/maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">maxflow.py</span></code></a></p>170 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fb1ace091b479d9370bc8348d34bb5e6/maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">maxflow.py</span></code></a></p>
171 </div>171 </div>
1.01 KB
html2text {}
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ····target=ax,72 ····target=ax,
73 ····layout="circle",73 ····layout="circle",
74 ····vertex_label=range(g.vcount()),74 ····vertex_label=range(g.vcount()),
75 ····vertex_color="lightblue"75 ····vertex_color="lightblue"
76 )76 )
77 plt.show()77 plt.show()
78 [maxflow]78 [maxflow]
79 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.107·seconds)79 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.282·seconds)
80 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8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_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
83 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t83 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
84 ===============================================================================84 ===============================================================================
85 ©·Copyright·2010-2024,·The·igraph·development·team.85 ©·Copyright·2010-2024,·The·igraph·development·team.
86 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.86 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.63 KB
./usr/share/doc/python-igraph-doc/html/tutorials/minimum_spanning_trees.html
    
Offset 164, 15 lines modifiedOffset 164, 15 lines modified
164 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;width&quot;</span><span·class="p">],</span>164 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;width&quot;</span><span·class="p">],</span>
165 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>165 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>
166 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>166 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>
167 <span·class="p">)</span>167 <span·class="p">)</span>
168 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>168 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
169 </pre></div>169 </pre></div>
170 </div>170 </div>
171 <img·src="../_images/sphx_glr_minimum_spanning_trees_001.png"·srcset="../_images/sphx_glr_minimum_spanning_trees_001.png"·alt="minimum·spanning·trees"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.355·seconds)</p>171 <img·src="../_images/sphx_glr_minimum_spanning_trees_001.png"·srcset="../_images/sphx_glr_minimum_spanning_trees_001.png"·alt="minimum·spanning·trees"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.350·seconds)</p>
172 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-minimum-spanning-trees-py">172 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-minimum-spanning-trees-py">
173 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">173 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
174 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d8d9437e575458785bbd8b9f92ad90ed/minimum_spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">minimum_spanning_trees.ipynb</span></code></a></p>174 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d8d9437e575458785bbd8b9f92ad90ed/minimum_spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">minimum_spanning_trees.ipynb</span></code></a></p>
175 </div>175 </div>
176 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">176 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/20634a79e0149b921e8021ba1a9bf22c/minimum_spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">minimum_spanning_trees.py</span></code></a></p>177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/20634a79e0149b921e8021ba1a9bf22c/minimum_spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">minimum_spanning_trees.py</span></code></a></p>
178 </div>178 </div>
1.13 KB
html2text {}
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 ····vertex_color="lightblue",77 ····vertex_color="lightblue",
78 ····edge_width=g.es["width"],78 ····edge_width=g.es["width"],
79 ····edge_label=g.es["weight"],79 ····edge_label=g.es["weight"],
80 ····edge_background="white",80 ····edge_background="white",
81 )81 )
82 plt.show()82 plt.show()
83 [minimum·spanning·trees]83 [minimum·spanning·trees]
84 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.355·seconds)84 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.350·seconds)
85 _\x8D_\x8o_\x8w_\x8n_\x8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x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8p_\x8y
87 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y87 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
89 ===============================================================================89 ===============================================================================
90 ©·Copyright·2010-2024,·The·igraph·development·team.90 ©·Copyright·2010-2024,·The·igraph·development·team.
91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.9 KB
./usr/share/doc/python-igraph-doc/html/tutorials/online_user_actions.html
    
Offset 213, 15 lines modifiedOffset 213, 15 lines modified
213 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>213 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
214 ····<a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="o">=</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="p">,</span>214 ····<a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="o">=</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="p">,</span>
215 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>215 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>
216 <span·class="p">)</span>216 <span·class="p">)</span>
217 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>217 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
218 </pre></div>218 </pre></div>
219 </div>219 </div>
220 <img·src="../_images/sphx_glr_online_user_actions_002.png"·srcset="../_images/sphx_glr_online_user_actions_002.png"·alt="online·user·actions"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.506·seconds)</p>220 <img·src="../_images/sphx_glr_online_user_actions_002.png"·srcset="../_images/sphx_glr_online_user_actions_002.png"·alt="online·user·actions"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.837·seconds)</p>
221 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-online-user-actions-py">221 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-online-user-actions-py">
222 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">222 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
223 <p><a·class="reference·download·internal"·download=""·href="../_downloads/937b9a86f4f37eae9f32f34396051b1f/online_user_actions.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">online_user_actions.ipynb</span></code></a></p>223 <p><a·class="reference·download·internal"·download=""·href="../_downloads/937b9a86f4f37eae9f32f34396051b1f/online_user_actions.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">online_user_actions.ipynb</span></code></a></p>
224 </div>224 </div>
225 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">225 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
226 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d26d373ee3cda71ff9571e6ac3291311/online_user_actions.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">online_user_actions.py</span></code></a></p>226 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d26d373ee3cda71ff9571e6ac3291311/online_user_actions.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">online_user_actions.py</span></code></a></p>
227 </div>227 </div>
1.16 KB
html2text {}
    
Offset 124, 15 lines modifiedOffset 124, 15 lines modified
124 ····vertex_label=g.vs['name'],124 ····vertex_label=g.vs['name'],
125 ····vertex_color="lightblue",125 ····vertex_color="lightblue",
126 ····_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e=_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e,126 ····_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e=_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e,
127 ····edge_width=g.es["weight"],127 ····edge_width=g.es["weight"],
128 )128 )
129 plt.show()129 plt.show()
130 [online·user·actions]130 [online·user·actions]
131 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.506·seconds)131 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.837·seconds)
132 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8o_\x8n_\x8l_\x8i_\x8n_\x8e_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\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8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
135 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t135 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
136 ===============================================================================136 ===============================================================================
137 ©·Copyright·2010-2024,·The·igraph·development·team.137 ©·Copyright·2010-2024,·The·igraph·development·team.
138 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.138 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.12 KB
./usr/share/doc/python-igraph-doc/html/tutorials/quickstart.html
    
Offset 179, 15 lines modifiedOffset 179, 15 lines modified
179 <span·class="n">fig</span><span·class="o">.</span><span·class="n">savefig</span><span·class="p">(</span><span·class="s1">&#39;social_network.pdf&#39;</span><span·class="p">)</span>179 <span·class="n">fig</span><span·class="o">.</span><span·class="n">savefig</span><span·class="p">(</span><span·class="s1">&#39;social_network.pdf&#39;</span><span·class="p">)</span>
  
180 <span·class="c1">#·Export·and·import·a·graph·as·a·GML·file.</span>180 <span·class="c1">#·Export·and·import·a·graph·as·a·GML·file.</span>
181 <span·class="n">g</span><span·class="o">.</span><span·class="n">save</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>181 <span·class="n">g</span><span·class="o">.</span><span·class="n">save</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>
182 <span·class="n">g</span>·<span·class="o">=</span>·<span·class="n">ig</span><span·class="o">.</span><span·class="n">load</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>182 <span·class="n">g</span>·<span·class="o">=</span>·<span·class="n">ig</span><span·class="o">.</span><span·class="n">load</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>
183 </pre></div>183 </pre></div>
184 </div>184 </div>
185 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.256·seconds)</p>185 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.954·seconds)</p>
186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-quickstart-py">186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-quickstart-py">
187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/672969cb8d7b3403ac7a48137cd865ba/quickstart.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">quickstart.ipynb</span></code></a></p>188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/672969cb8d7b3403ac7a48137cd865ba/quickstart.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">quickstart.ipynb</span></code></a></p>
189 </div>189 </div>
190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a526f4c21167c30e565f6eef2922968a/quickstart.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">quickstart.py</span></code></a></p>191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a526f4c21167c30e565f6eef2922968a/quickstart.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">quickstart.py</span></code></a></p>
192 </div>192 </div>
1.12 KB
html2text {}
    
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 fig.savefig('social_network.png')102 fig.savefig('social_network.png')
103 fig.savefig('social_network.jpg')103 fig.savefig('social_network.jpg')
104 fig.savefig('social_network.pdf')104 fig.savefig('social_network.pdf')
  
105 #·Export·and·import·a·graph·as·a·GML·file.105 #·Export·and·import·a·graph·as·a·GML·file.
106 g.save("social_network.gml")106 g.save("social_network.gml")
107 g·=·ig.load("social_network.gml")107 g·=·ig.load("social_network.gml")
108 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.256·seconds)108 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.954·seconds)
109 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8q_\x8u_\x8i_\x8c_\x8k_\x8s_\x8t_\x8a_\x8r_\x8t_\x8._\x8i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x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t112 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
113 ===============================================================================113 ===============================================================================
114 ©·Copyright·2010-2024,·The·igraph·development·team.114 ©·Copyright·2010-2024,·The·igraph·development·team.
115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
9.8 KB
./usr/share/doc/python-igraph-doc/html/tutorials/ring_animation.html
    
Offset 372, 62 lines modifiedOffset 372, 62 lines modified
372 .anim-state·input·{372 .anim-state·input·{
373 ····margin:·0;373 ····margin:·0;
374 ····vertical-align:·middle;374 ····vertical-align:·middle;
375 }375 }
376 </style>376 </style>
  
377 <div·class="animation">377 <div·class="animation">
378 ··<img·id="_anim_img292cdf34c0c24f40b0d77c4691efdfa9">378 ··<img·id="_anim_img09b26036bf944699b8e0a4b4aaf3f17c">
379 ··<div·class="anim-controls">379 ··<div·class="anim-controls">
380 ····<input·id="_anim_slider292cdf34c0c24f40b0d77c4691efdfa9"·type="range"·class="anim-slider"380 ····<input·id="_anim_slider09b26036bf944699b8e0a4b4aaf3f17c"·type="range"·class="anim-slider"
381 ···········name="points"·min="0"·max="1"·step="1"·value="0"381 ···········name="points"·min="0"·max="1"·step="1"·value="0"
382 ···········oninput="anim292cdf34c0c24f40b0d77c4691efdfa9.set_frame(parseInt(this.value));">382 ···········oninput="anim09b26036bf944699b8e0a4b4aaf3f17c.set_frame(parseInt(this.value));">
383 ····<div·class="anim-buttons">383 ····<div·class="anim-buttons">
384 ······<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.slower()">384 ······<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.slower()">
385 ··········<i·class="fa·fa-minus"></i></button>385 ··········<i·class="fa·fa-minus"></i></button>
386 ······<button·title="First·frame"·aria-label="First·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.first_frame()">386 ······<button·title="First·frame"·aria-label="First·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.first_frame()">
387 ········<i·class="fa·fa-fast-backward"></i></button>387 ········<i·class="fa·fa-fast-backward"></i></button>
388 ······<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.previous_frame()">388 ······<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.previous_frame()">
389 ··········<i·class="fa·fa-step-backward"></i></button>389 ··········<i·class="fa·fa-step-backward"></i></button>
390 ······<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.reverse_animation()">390 ······<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.reverse_animation()">
391 ··········<i·class="fa·fa-play·fa-flip-horizontal"></i></button>391 ··········<i·class="fa·fa-play·fa-flip-horizontal"></i></button>
392 ······<button·title="Pause"·aria-label="Pause"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.pause_animation()">392 ······<button·title="Pause"·aria-label="Pause"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.pause_animation()">
393 ··········<i·class="fa·fa-pause"></i></button>393 ··········<i·class="fa·fa-pause"></i></button>
394 ······<button·title="Play"·aria-label="Play"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.play_animation()">394 ······<button·title="Play"·aria-label="Play"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.play_animation()">
395 ··········<i·class="fa·fa-play"></i></button>395 ··········<i·class="fa·fa-play"></i></button>
396 ······<button·title="Next·frame"·aria-label="Next·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.next_frame()">396 ······<button·title="Next·frame"·aria-label="Next·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.next_frame()">
397 ··········<i·class="fa·fa-step-forward"></i></button>397 ··········<i·class="fa·fa-step-forward"></i></button>
398 ······<button·title="Last·frame"·aria-label="Last·frame"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.last_frame()">398 ······<button·title="Last·frame"·aria-label="Last·frame"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.last_frame()">
399 ··········<i·class="fa·fa-fast-forward"></i></button>399 ··········<i·class="fa·fa-fast-forward"></i></button>
400 ······<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="anim292cdf34c0c24f40b0d77c4691efdfa9.faster()">400 ······<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="anim09b26036bf944699b8e0a4b4aaf3f17c.faster()">
401 ··········<i·class="fa·fa-plus"></i></button>401 ··········<i·class="fa·fa-plus"></i></button>
402 ····</div>402 ····</div>
403 ····<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_select292cdf34c0c24f40b0d77c4691efdfa9"403 ····<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_select09b26036bf944699b8e0a4b4aaf3f17c"
404 ··········class="anim-state">404 ··········class="anim-state">
405 ······<input·type="radio"·name="state"·value="once"·id="_anim_radio1_292cdf34c0c24f40b0d77c4691efdfa9"405 ······<input·type="radio"·name="state"·value="once"·id="_anim_radio1_09b26036bf944699b8e0a4b4aaf3f17c"
406 ·············>406 ·············>
407 ······<label·for="_anim_radio1_292cdf34c0c24f40b0d77c4691efdfa9">Once</label>407 ······<label·for="_anim_radio1_09b26036bf944699b8e0a4b4aaf3f17c">Once</label>
408 ······<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_292cdf34c0c24f40b0d77c4691efdfa9"408 ······<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_09b26036bf944699b8e0a4b4aaf3f17c"
409 ·············checked>409 ·············checked>
410 ······<label·for="_anim_radio2_292cdf34c0c24f40b0d77c4691efdfa9">Loop</label>410 ······<label·for="_anim_radio2_09b26036bf944699b8e0a4b4aaf3f17c">Loop</label>
411 ······<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_292cdf34c0c24f40b0d77c4691efdfa9"411 ······<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_09b26036bf944699b8e0a4b4aaf3f17c"
412 ·············>412 ·············>
413 ······<label·for="_anim_radio3_292cdf34c0c24f40b0d77c4691efdfa9">Reflect</label>413 ······<label·for="_anim_radio3_09b26036bf944699b8e0a4b4aaf3f17c">Reflect</label>
414 ····</form>414 ····</form>
415 ··</div>415 ··</div>
416 </div>416 </div>
  
  
417 <script·language="javascript">417 <script·language="javascript">
418 ··/*·Instantiate·the·Animation·class.·*/418 ··/*·Instantiate·the·Animation·class.·*/
419 ··/*·The·IDs·given·should·match·those·used·in·the·template·above.·*/419 ··/*·The·IDs·given·should·match·those·used·in·the·template·above.·*/
420 ··(function()·{420 ··(function()·{
421 ····var·img_id·=·"_anim_img292cdf34c0c24f40b0d77c4691efdfa9"; 
422 ····var·slider_id·=·"_anim_slider292cdf34c0c24f40b0d77c4691efdfa9"; 
423 ····var·loop_select_id·=·"_anim_loop_select292cdf34c0c24f40b0d77c4691efdfa9";421 ····var·img_id·=·"_anim_img09b26036bf944699b8e0a4b4aaf3f17c";
 422 ····var·slider_id·=·"_anim_slider09b26036bf944699b8e0a4b4aaf3f17c";
 423 ····var·loop_select_id·=·"_anim_loop_select09b26036bf944699b8e0a4b4aaf3f17c";
424 ····var·frames·=·new·Array(12);424 ····var·frames·=·new·Array(12);
  
425 ··frames[0]·=·"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\425 ··frames[0]·=·"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoAAAAHgCAYAAAA10dzkAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90\
426 bGliIHZlcnNpb24zLjguMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/H5lhTAAAACXBIWXMAAA9h\426 bGliIHZlcnNpb24zLjguMywgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy/H5lhTAAAACXBIWXMAAA9h\
427 AAAPYQGoP6dpAAAIyUlEQVR4nO3WMQEAIAzAMMC/5+ECjiYKenbPzCwAADLO7wAAAN4ygAAAMQYQ\427 AAAPYQGoP6dpAAAIyUlEQVR4nO3WMQEAIAzAMMC/5+ECjiYKenbPzCwAADLO7wAAAN4ygAAAMQYQ\
428 ACDGAAIAxBhAAIAYAwgAEGMAAQBiDCAAQIwBBACIMYAAADEGEAAgxgACAMQYQACAGAMIABBjAAEA\428 ACDGAAIAxBhAAIAYAwgAEGMAAQBiDCAAQIwBBACIMYAAADEGEAAgxgACAMQYQACAGAMIABBjAAEA\
429 YgwgAECMAQQAiDGAAAAxBhAAIMYAAgDEGEAAgBgDCAAQYwABAGIMIABAjAEEAIgxgAAAMQYQACDG\429 YgwgAECMAQQAiDGAAAAxBhAAIMYAAgDEGEAAgBgDCAAQYwABAGIMIABAjAEEAIgxgAAAMQYQACDG\
Offset 2953, 29 lines modifiedOffset 2953, 29 lines modified
2953 EAABAABM5v8ATgU6h7aNzegAAAAASUVORK5CYII=\2953 EAABAABM5v8ATgU6h7aNzegAAAAASUVORK5CYII=\
2954 "2954 "
  
  
2955 ····/*·set·a·timeout·to·make·sure·all·the·above·elements·are·created·before2955 ····/*·set·a·timeout·to·make·sure·all·the·above·elements·are·created·before
2956 ·······the·object·is·initialized.·*/2956 ·······the·object·is·initialized.·*/
2957 ····setTimeout(function()·{2957 ····setTimeout(function()·{
2958 ········anim292cdf34c0c24f40b0d77c4691efdfa9·=·new·Animation(frames,·img_id,·slider_id,·500.0,2958 ········anim09b26036bf944699b8e0a4b4aaf3f17c·=·new·Animation(frames,·img_id,·slider_id,·500.0,
2959 ·································loop_select_id);2959 ·································loop_select_id);
2960 ····},·0);2960 ····},·0);
2961 ··})()2961 ··})()
2962 </script></div>2962 </script></div>
2963 <div·class="admonition·note">2963 <div·class="admonition·note">
2964 <p·class="admonition-title">Note</p>2964 <p·class="admonition-title">Note</p>
2965 <p>We·use·<em>igraph</em>’s·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Graph.subgraph()</span></code>·(see2965 <p>We·use·<em>igraph</em>’s·<code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">Graph.subgraph()</span></code>·(see
2966 <a·class="reference·external"·href="/en/latest/api/igraph.GraphBase.html#induced_subgraph"·title="(in·igraph·v0.11.8)"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">igraph.GraphBase.induced_subgraph()</span></code></a>)·in·order·to·obtain·a·section·of2966 <a·class="reference·external"·href="/en/latest/api/igraph.GraphBase.html#induced_subgraph"·title="(in·igraph·v0.11.8)"><code·class="xref·py·py-meth·docutils·literal·notranslate"><span·class="pre">igraph.GraphBase.induced_subgraph()</span></code></a>)·in·order·to·obtain·a·section·of
2967 the·ring·graph·at·a·time·for·each·frame.·While·sufficient·for·an·easy2967 the·ring·graph·at·a·time·for·each·frame.·While·sufficient·for·an·easy
2968 example,·this·approach·is·not·very·efficient.·Thinking·of·more·efficient2968 example,·this·approach·is·not·very·efficient.·Thinking·of·more·efficient
2969 approaches,·e.g.·vertices·with·zero·radius,·is·a·useful·exercise·to·learn2969 approaches,·e.g.·vertices·with·zero·radius,·is·a·useful·exercise·to·learn
2970 the·combination·of·igraph·and·matplotlib.</p>2970 the·combination·of·igraph·and·matplotlib.</p>
2971 </div>2971 </div>
2972 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.260·seconds)</p>2972 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·7.495·seconds)</p>
2973 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-ring-animation-py">2973 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-ring-animation-py">
2974 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">2974 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
2975 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7ec5e2ec78927c7b822c2d4846cf9fe5/ring_animation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">ring_animation.ipynb</span></code></a></p>2975 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7ec5e2ec78927c7b822c2d4846cf9fe5/ring_animation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">ring_animation.ipynb</span></code></a></p>
2976 </div>2976 </div>
2977 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">2977 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
2978 <p><a·class="reference·download·internal"·download=""·href="../_downloads/04f31f979c8d03b5834fe70d27653f19/ring_animation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">ring_animation.py</span></code></a></p>2978 <p><a·class="reference·download·internal"·download=""·href="../_downloads/04f31f979c8d03b5834fe70d27653f19/ring_animation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">ring_animation.py</span></code></a></p>
2979 </div>2979 </div>
1.4 KB
html2text {}
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 oOnce·#Loop·oReflect108 oOnce·#Loop·oReflect
109 Note109 Note
110 We·use·i\x8ig\x8gr\x8ra\x8ap\x8ph\x8h’s·Graph.subgraph()·(see·_\x8i_\x8g_\x8r_\x8a_\x8p_\x8h_\x8._\x8G_\x8r_\x8a_\x8p_\x8h_\x8B_\x8a_\x8s_\x8e_\x8._\x8i_\x8n_\x8d_\x8u_\x8c_\x8e_\x8d_\x8__\x8s_\x8u_\x8b_\x8g_\x8r_\x8a_\x8p_\x8h_\x8(_\x8))·in110 We·use·i\x8ig\x8gr\x8ra\x8ap\x8ph\x8h’s·Graph.subgraph()·(see·_\x8i_\x8g_\x8r_\x8a_\x8p_\x8h_\x8._\x8G_\x8r_\x8a_\x8p_\x8h_\x8B_\x8a_\x8s_\x8e_\x8._\x8i_\x8n_\x8d_\x8u_\x8c_\x8e_\x8d_\x8__\x8s_\x8u_\x8b_\x8g_\x8r_\x8a_\x8p_\x8h_\x8(_\x8))·in
111 order·to·obtain·a·section·of·the·ring·graph·at·a·time·for·each·frame.·While111 order·to·obtain·a·section·of·the·ring·graph·at·a·time·for·each·frame.·While
112 sufficient·for·an·easy·example,·this·approach·is·not·very·efficient.·Thinking112 sufficient·for·an·easy·example,·this·approach·is·not·very·efficient.·Thinking
113 of·more·efficient·approaches,·e.g.·vertices·with·zero·radius,·is·a·useful113 of·more·efficient·approaches,·e.g.·vertices·with·zero·radius,·is·a·useful
114 exercise·to·learn·the·combination·of·igraph·and·matplotlib.114 exercise·to·learn·the·combination·of·igraph·and·matplotlib.
115 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.260·seconds)115 T\x8To\x8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8n_\x8i_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y
118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
120 ===============================================================================120 ===============================================================================
121 ©·Copyright·2010-2024,·The·igraph·development·team.121 ©·Copyright·2010-2024,·The·igraph·development·team.
122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.49 KB
./usr/share/doc/python-igraph-doc/html/tutorials/shortest_path_visualisation.html
    
Offset 196, 15 lines modifiedOffset 196, 15 lines modified
196 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;#666&#39;</span><span·class="p">,</span>196 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;#666&#39;</span><span·class="p">,</span>
197 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>197 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>
198 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s1">&#39;white&#39;</span>198 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s1">&#39;white&#39;</span>
199 <span·class="p">)</span>199 <span·class="p">)</span>
200 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>200 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
201 </pre></div>201 </pre></div>
202 </div>202 </div>
203 <img·src="../_images/sphx_glr_shortest_path_visualisation_001.png"·srcset="../_images/sphx_glr_shortest_path_visualisation_001.png"·alt="shortest·path·visualisation"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.115·seconds)</p>203 <img·src="../_images/sphx_glr_shortest_path_visualisation_001.png"·srcset="../_images/sphx_glr_shortest_path_visualisation_001.png"·alt="shortest·path·visualisation"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.310·seconds)</p>
204 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-shortest-path-visualisation-py">204 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-shortest-path-visualisation-py">
205 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">205 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
206 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fc60c4dc9531cdc1484f5e3ce96ab8fc/shortest_path_visualisation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">shortest_path_visualisation.ipynb</span></code></a></p>206 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fc60c4dc9531cdc1484f5e3ce96ab8fc/shortest_path_visualisation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">shortest_path_visualisation.ipynb</span></code></a></p>
207 </div>207 </div>
208 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">208 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
209 <p><a·class="reference·download·internal"·download=""·href="../_downloads/79e1b300289994ce5ae78e692fa16ddb/shortest_path_visualisation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">shortest_path_visualisation.py</span></code></a></p>209 <p><a·class="reference·download·internal"·download=""·href="../_downloads/79e1b300289994ce5ae78e692fa16ddb/shortest_path_visualisation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">shortest_path_visualisation.py</span></code></a></p>
210 </div>210 </div>
1.16 KB
html2text {}
    
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ····edge_label=g.es["weight"],106 ····edge_label=g.es["weight"],
107 ····edge_color='#666',107 ····edge_color='#666',
108 ····edge_align_label=True,108 ····edge_align_label=True,
109 ····edge_background='white'109 ····edge_background='white'
110 )110 )
111 plt.show()111 plt.show()
112 [shortest·path·visualisation]112 [shortest·path·visualisation]
113 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.115·seconds)113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\x8o_\x8n_\x8._\x8p_\x8y115 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8s_\x8h_\x8o_\x8r_\x8t_\x8e_\x8s_\x8t_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8i_\x8s_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y
116 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y116 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
117 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t117 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
118 ===============================================================================118 ===============================================================================
119 ©·Copyright·2010-2024,·The·igraph·development·team.119 ©·Copyright·2010-2024,·The·igraph·development·team.
120 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.120 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
6.61 KB
./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html
    
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a147 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a
148 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph148 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph
149 untouched:</p>149 untouched:</p>
150 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g2</span>·<span·class="o">=</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">copy</span><span·class="p">()</span>150 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g2</span>·<span·class="o">=</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">copy</span><span·class="p">()</span>
151 <span·class="n">g2</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>151 <span·class="n">g2</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>
152 </pre></div>152 </pre></div>
153 </div>153 </div>
154 <div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">Graph</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xffff8886b450</span><span·class="o">&gt;</span>154 <div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">Graph</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xffffad26f550</span><span·class="o">&gt;</span>
155 </pre></div>155 </pre></div>
156 </div>156 </div>
157 <p>We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s157 <p>We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s
158 choose·a·consistent·visual·style:</p>158 choose·a·consistent·visual·style:</p>
159 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a>·<span·class="o">=</span>·<span·class="p">{</span>159 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a>·<span·class="o">=</span>·<span·class="p">{</span>
160 ····<span·class="s2">&quot;vertex_color&quot;</span><span·class="p">:</span>·<span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>160 ····<span·class="s2">&quot;vertex_color&quot;</span><span·class="p">:</span>·<span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
161 ····<span·class="s2">&quot;vertex_size&quot;</span><span·class="p">:</span>·<span·class="mi">20</span><span·class="p">,</span>161 ····<span·class="s2">&quot;vertex_size&quot;</span><span·class="p">:</span>·<span·class="mi">20</span><span·class="p">,</span>
Offset 186, 15 lines modifiedOffset 186, 15 lines modified
186 ····<span·class="p">))</span>186 ····<span·class="p">))</span>
187 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">add_patch</span><span·class="p">(</span><span·class="n">plt</span><span·class="o">.</span><span·class="n">Rectangle</span><span·class="p">(</span>187 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">add_patch</span><span·class="p">(</span><span·class="n">plt</span><span·class="o">.</span><span·class="n">Rectangle</span><span·class="p">(</span>
188 ····<span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">),</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="n">fc</span><span·class="o">=</span><span·class="s1">&#39;none&#39;</span><span·class="p">,</span>·<span·class="n">ec</span><span·class="o">=</span><span·class="s1">&#39;k&#39;</span><span·class="p">,</span>·<span·class="n">lw</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">transform</span><span·class="o">=</span><span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>188 ····<span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">),</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="n">fc</span><span·class="o">=</span><span·class="s1">&#39;none&#39;</span><span·class="p">,</span>·<span·class="n">ec</span><span·class="o">=</span><span·class="s1">&#39;k&#39;</span><span·class="p">,</span>·<span·class="n">lw</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">transform</span><span·class="o">=</span><span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>
189 ····<span·class="p">))</span>189 ····<span·class="p">))</span>
190 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>190 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
191 </pre></div>191 </pre></div>
192 </div>192 </div>
193 <img·src="../_images/sphx_glr_simplify_001.png"·srcset="../_images/sphx_glr_simplify_001.png"·alt="Multigraph...,·...simplified"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.176·seconds)</p>193 <img·src="../_images/sphx_glr_simplify_001.png"·srcset="../_images/sphx_glr_simplify_001.png"·alt="Multigraph...,·...simplified"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.530·seconds)</p>
194 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-simplify-py">194 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-simplify-py">
195 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">195 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
196 <p><a·class="reference·download·internal"·download=""·href="../_downloads/54476cc5a7944a895c863c973e50cf77/simplify.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">simplify.ipynb</span></code></a></p>196 <p><a·class="reference·download·internal"·download=""·href="../_downloads/54476cc5a7944a895c863c973e50cf77/simplify.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">simplify.ipynb</span></code></a></p>
197 </div>197 </div>
198 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">198 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/df86bcfbbf6e084c64304a7c77e115b8/simplify.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">simplify.py</span></code></a></p>199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/df86bcfbbf6e084c64304a7c77e115b8/simplify.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">simplify.py</span></code></a></p>
200 </div>200 </div>
1.74 KB
html2text {}
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 )65 )
66 To·simplify·the·graph,·we·must·remember·that·the·function·operates·in·place,66 To·simplify·the·graph,·we·must·remember·that·the·function·operates·in·place,
67 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a67 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a
68 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph68 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph
69 untouched:69 untouched:
70 g2·=·g1.copy()70 g2·=·g1.copy()
71 g2.simplify()71 g2.simplify()
72 <igraph.Graph·object·at·0xffff8886b450>72 <igraph.Graph·object·at·0xffffad26f550>
73 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s73 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s
74 choose·a·consistent·visual·style:74 choose·a·consistent·visual·style:
75 _\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8__\x8s_\x8t_\x8y_\x8l_\x8e·=·{75 _\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8__\x8s_\x8t_\x8y_\x8l_\x8e·=·{
76 ····"vertex_color":·"lightblue",76 ····"vertex_color":·"lightblue",
77 ····"vertex_size":·20,77 ····"vertex_size":·20,
78 ····"vertex_label":·[0,·1,·2,·3,·4],78 ····"vertex_label":·[0,·1,·2,·3,·4],
79 }79 }
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[0].transAxes,99 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[0].transAxes,
100 ····))100 ····))
101 axs[1].add_patch(plt.Rectangle(101 axs[1].add_patch(plt.Rectangle(
102 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[1].transAxes,102 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[1].transAxes,
103 ····))103 ····))
104 plt.show()104 plt.show()
105 [Multigraph...,·...simplified]105 [Multigraph...,·...simplified]
106 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.176·seconds)106 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.530·seconds)
107 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b107 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
108 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8p_\x8y108 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8p_\x8y
109 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y109 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
110 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t110 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
111 ===============================================================================111 ===============================================================================
112 ©·Copyright·2010-2024,·The·igraph·development·team.112 ©·Copyright·2010-2024,·The·igraph·development·team.
113 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.113 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
2.88 KB
./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html
    
Offset 172, 15 lines modifiedOffset 172, 15 lines modified
172 </pre></div>172 </pre></div>
173 </div>173 </div>
174 <img·src="../_images/sphx_glr_spanning_trees_001.png"·srcset="../_images/sphx_glr_spanning_trees_001.png"·alt="spanning·trees"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">174 <img·src="../_images/sphx_glr_spanning_trees_001.png"·srcset="../_images/sphx_glr_spanning_trees_001.png"·alt="spanning·trees"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">
175 <p·class="admonition-title">Note</p>175 <p·class="admonition-title">Note</p>
176 <p>To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,176 <p>To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,
177 you·can·call·<cite>ax.invert_yaxis()</cite>·before·<cite>plt.show()</cite>.</p>177 you·can·call·<cite>ax.invert_yaxis()</cite>·before·<cite>plt.show()</cite>.</p>
178 </div>178 </div>
179 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.429·seconds)</p>179 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.404·seconds)</p>
180 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-spanning-trees-py">180 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-spanning-trees-py">
181 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">181 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
182 <p><a·class="reference·download·internal"·download=""·href="../_downloads/babf92113ce2dc7d0ac7ca835125317e/spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">spanning_trees.ipynb</span></code></a></p>182 <p><a·class="reference·download·internal"·download=""·href="../_downloads/babf92113ce2dc7d0ac7ca835125317e/spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">spanning_trees.ipynb</span></code></a></p>
183 </div>183 </div>
184 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">184 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
185 <p><a·class="reference·download·internal"·download=""·href="../_downloads/84a135646841d3eb216cb170b4755139/spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">spanning_trees.py</span></code></a></p>185 <p><a·class="reference·download·internal"·download=""·href="../_downloads/84a135646841d3eb216cb170b4755139/spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">spanning_trees.py</span></code></a></p>
186 </div>186 </div>
1.12 KB
html2text {}
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ····edge_width=g.es["width"]83 ····edge_width=g.es["width"]
84 )84 )
85 plt.show()85 plt.show()
86 [spanning·trees]86 [spanning·trees]
87 Note87 Note
88 To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,·you88 To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,·you
89 can·callax.invert_yaxis()beforeplt.show().89 can·callax.invert_yaxis()beforeplt.show().
90 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.429·seconds)90 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\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e_\x8s_\x8._\x8p_\x8y
93 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y93 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
94 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t94 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
95 ===============================================================================95 ===============================================================================
96 ©·Copyright·2010-2024,·The·igraph·development·team.96 ©·Copyright·2010-2024,·The·igraph·development·team.
97 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.97 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.1 KB
./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html
    
Offset 182, 15 lines modifiedOffset 182, 15 lines modified
182 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">1</span><span·class="p">:</span>·<span·class="mi">1</span>182 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">1</span><span·class="p">:</span>·<span·class="mi">1</span>
183 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">2</span><span·class="p">:</span>·<span·class="mi">1</span>183 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">2</span><span·class="p">:</span>·<span·class="mi">1</span>
184 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">3</span><span·class="p">:</span>·<span·class="mi">2</span>184 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">3</span><span·class="p">:</span>·<span·class="mi">2</span>
185 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">4</span><span·class="p">:</span>·<span·class="mi">1</span>185 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">4</span><span·class="p">:</span>·<span·class="mi">1</span>
186 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">5</span><span·class="p">:</span>·<span·class="mi">2</span>186 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">5</span><span·class="p">:</span>·<span·class="mi">2</span>
187 </pre></div>187 </pre></div>
188 </div>188 </div>
189 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.116·seconds)</p>189 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.322·seconds)</p>
190 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-topological-sort-py">190 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-topological-sort-py">
191 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">191 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b0d031ac8dedde92ae4e40c8c09bfb2d/topological_sort.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">topological_sort.ipynb</span></code></a></p>192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b0d031ac8dedde92ae4e40c8c09bfb2d/topological_sort.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">topological_sort.ipynb</span></code></a></p>
193 </div>193 </div>
194 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">194 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75a0b33a685d1f3ca81fe08e393cf370/topological_sort.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">topological_sort.py</span></code></a></p>195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75a0b33a685d1f3ca81fe08e393cf370/topological_sort.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">topological_sort.py</span></code></a></p>
196 </div>196 </div>
1.05 KB
html2text {}
    
Offset 93, 15 lines modifiedOffset 93, 15 lines modified
93 [topological·sort]93 [topological·sort]
94 degree·of·0:·094 degree·of·0:·0
95 degree·of·1:·195 degree·of·1:·1
96 degree·of·2:·196 degree·of·2:·1
97 degree·of·3:·297 degree·of·3:·2
98 degree·of·4:·198 degree·of·4:·1
99 degree·of·5:·299 degree·of·5:·2
100 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.116·seconds)100 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8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\x8p_\x8y
103 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y103 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
104 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t104 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
105 ===============================================================================105 ===============================================================================
106 ©·Copyright·2010-2024,·The·igraph·development·team.106 ©·Copyright·2010-2024,·The·igraph·development·team.
107 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.107 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.1 KB
./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html
    
Offset 200, 15 lines modifiedOffset 200, 15 lines modified
200 ········<span·class="mi">30</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·0</span>200 ········<span·class="mi">30</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·0</span>
201 ········<span·class="mi">80</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·1</span>201 ········<span·class="mi">80</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·1</span>
202 ····<span·class="p">],</span>202 ····<span·class="p">],</span>
203 <span·class="p">)</span>203 <span·class="p">)</span>
204 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>204 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
205 </pre></div>205 </pre></div>
206 </div>206 </div>
207 <img·src="../_images/sphx_glr_visual_style_003.png"·srcset="../_images/sphx_glr_visual_style_003.png"·alt="visual·style"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.950·seconds)</p>207 <img·src="../_images/sphx_glr_visual_style_003.png"·srcset="../_images/sphx_glr_visual_style_003.png"·alt="visual·style"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·4.414·seconds)</p>
208 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visual-style-py">208 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visual-style-py">
209 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">209 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
210 <p><a·class="reference·download·internal"·download=""·href="../_downloads/79c0d9b4fcedc4cbbf708dabc07e602e/visual_style.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visual_style.ipynb</span></code></a></p>210 <p><a·class="reference·download·internal"·download=""·href="../_downloads/79c0d9b4fcedc4cbbf708dabc07e602e/visual_style.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visual_style.ipynb</span></code></a></p>
211 </div>211 </div>
212 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">212 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
213 <p><a·class="reference·download·internal"·download=""·href="../_downloads/afc268b986c7491fc23c445840ef7388/visual_style.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visual_style.py</span></code></a></p>213 <p><a·class="reference·download·internal"·download=""·href="../_downloads/afc268b986c7491fc23c445840ef7388/visual_style.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visual_style.py</span></code></a></p>
214 </div>214 </div>
1.07 KB
html2text {}
    
Offset 108, 15 lines modifiedOffset 108, 15 lines modified
108 ········0,··#·ignored,·the·first·edge·is·not·a·loop108 ········0,··#·ignored,·the·first·edge·is·not·a·loop
109 ········30,··#·loop·for·vertex·0109 ········30,··#·loop·for·vertex·0
110 ········80,··#·loop·for·vertex·1110 ········80,··#·loop·for·vertex·1
111 ····],111 ····],
112 )112 )
113 plt.show()113 plt.show()
114 [visual·style]114 [visual·style]
115 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.950·seconds)115 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·4.414·seconds)
116 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8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a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
120 ===============================================================================120 ===============================================================================
121 ©·Copyright·2010-2024,·The·igraph·development·team.121 ©·Copyright·2010-2024,·The·igraph·development·team.
122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.33 KB
./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html
    
Offset 178, 15 lines modifiedOffset 178, 15 lines modified
178 ········<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">,</span>178 ········<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">,</span>
179 ········<span·class="n">target</span><span·class="o">=</span><span·class="n">ax</span><span·class="p">,</span>179 ········<span·class="n">target</span><span·class="o">=</span><span·class="n">ax</span><span·class="p">,</span>
180 ····<span·class="p">)</span>180 ····<span·class="p">)</span>
181 <span·class="n">plt</span><span·class="o">.</span><span·class="n">axis</span><span·class="p">(</span><span·class="s1">&#39;off&#39;</span><span·class="p">)</span>181 <span·class="n">plt</span><span·class="o">.</span><span·class="n">axis</span><span·class="p">(</span><span·class="s1">&#39;off&#39;</span><span·class="p">)</span>
182 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>182 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
183 </pre></div>183 </pre></div>
184 </div>184 </div>
185 <img·src="../_images/sphx_glr_visualize_cliques_002.png"·srcset="../_images/sphx_glr_visualize_cliques_002.png"·alt="visualize·cliques"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·8.586·seconds)</p>185 <img·src="../_images/sphx_glr_visualize_cliques_002.png"·srcset="../_images/sphx_glr_visualize_cliques_002.png"·alt="visualize·cliques"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·25.945·seconds)</p>
186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-cliques-py">186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-cliques-py">
187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/da65d2622d92114804d208875f9bb90b/visualize_cliques.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_cliques.ipynb</span></code></a></p>188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/da65d2622d92114804d208875f9bb90b/visualize_cliques.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_cliques.ipynb</span></code></a></p>
189 </div>189 </div>
190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/e7bcea221487de8e5781ec3f6b3b6c47/visualize_cliques.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_cliques.py</span></code></a></p>191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/e7bcea221487de8e5781ec3f6b3b6c47/visualize_cliques.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_cliques.py</span></code></a></p>
192 </div>192 </div>
1.08 KB
html2text {}
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ········palette=ig.RainbowPalette(),91 ········palette=ig.RainbowPalette(),
92 ········vertex_size=5,92 ········vertex_size=5,
93 ········target=ax,93 ········target=ax,
94 ····)94 ····)
95 plt.axis('off')95 plt.axis('off')
96 plt.show()96 plt.show()
97 [visualize·cliques]97 [visualize·cliques]
98 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·8.586·seconds)98 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·25.945·seconds)
99 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x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_\x8l_\x8e_\x8r_\x8y101 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
102 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t102 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
103 ===============================================================================103 ===============================================================================
104 ©·Copyright·2010-2024,·The·igraph·development·team.104 ©·Copyright·2010-2024,·The·igraph·development·team.
105 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.105 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.37 KB
./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html
    
Offset 174, 15 lines modifiedOffset 174, 15 lines modified
174 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>174 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>
175 <span·class="p">)</span>175 <span·class="p">)</span>
176 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>176 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
177 </pre></div>177 </pre></div>
178 </div>178 </div>
179 <img·src="../_images/sphx_glr_visualize_communities_001.png"·srcset="../_images/sphx_glr_visualize_communities_001.png"·alt="visualize·communities"·class·=·"sphx-glr-single-img"/><p>For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,179 <img·src="../_images/sphx_glr_visualize_communities_001.png"·srcset="../_images/sphx_glr_visualize_communities_001.png"·alt="visualize·communities"·class·=·"sphx-glr-single-img"/><p>For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,
180 check·out·<a·class="reference·internal"·href="cluster_contraction.html#tutorials-cluster-graph"><span·class="std·std-ref">Generating·Cluster·Graphs</span></a>.</p>180 check·out·<a·class="reference·internal"·href="cluster_contraction.html#tutorials-cluster-graph"><span·class="std·std-ref">Generating·Cluster·Graphs</span></a>.</p>
181 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.467·seconds)</p>181 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.711·seconds)</p>
182 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-communities-py">182 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-communities-py">
183 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">183 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
184 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f082956eca17112cb706ac88c24e553d/visualize_communities.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_communities.ipynb</span></code></a></p>184 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f082956eca17112cb706ac88c24e553d/visualize_communities.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_communities.ipynb</span></code></a></p>
185 </div>185 </div>
186 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">186 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
187 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a8f8ff572a8d1db2c2c0c6b094e4dcbe/visualize_communities.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_communities.py</span></code></a></p>187 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a8f8ff572a8d1db2c2c0c6b094e4dcbe/visualize_communities.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_communities.py</span></code></a></p>
188 </div>188 </div>
1.23 KB
html2text {}
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 ····bbox_to_anchor=(0,·1.0),88 ····bbox_to_anchor=(0,·1.0),
89 ····bbox_transform=ax.transAxes,89 ····bbox_transform=ax.transAxes,
90 )90 )
91 plt.show()91 plt.show()
92 [visualize·communities]92 [visualize·communities]
93 For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,93 For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,
94 check·out·_\x8G_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8i_\x8n_\x8g_\x8·_\x8C_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8·_\x8G_\x8r_\x8a_\x8p_\x8h_\x8s.94 check·out·_\x8G_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8i_\x8n_\x8g_\x8·_\x8C_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8·_\x8G_\x8r_\x8a_\x8p_\x8h_\x8s.
95 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8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\x8t_\x8i_\x8e_\x8s_\x8._\x8p_\x8y97 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8i_\x8z_\x8e_\x8__\x8c_\x8o_\x8m_\x8m_\x8u_\x8n_\x8i_\x8t_\x8i_\x8e_\x8s_\x8._\x8p_\x8y
98 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y98 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
99 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t99 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
100 ===============================================================================100 ===============================================================================
101 ©·Copyright·2010-2024,·The·igraph·development·team.101 ©·Copyright·2010-2024,·The·igraph·development·team.
102 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.102 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
14.2 KB
./usr/share/doc/python-igraph-doc/igraph.pdf.gz
14.1 KB
igraph.pdf
14.1 KB
pdftotext {} -
    
Offset 291, 15 lines modifiedOffset 291, 15 lines modified
  
291 10291 10
  
292 Chapter·2.·Documentation292 Chapter·2.·Documentation
  
293 \xcigraph·Documentation,·Release·0.11.8293 \xcigraph·Documentation,·Release·0.11.8
  
294 Total·running·time·of·the·script:·(0·minutes·0.507·seconds)294 Total·running·time·of·the·script:·(0·minutes·1.229·seconds)
  
295 2.2.2·Connected·Components295 2.2.2·Connected·Components
296 This·example·demonstrates·how·to·visualise·the·connected·components·in·a·graph·using·igraph.GraphBase.296 This·example·demonstrates·how·to·visualise·the·connected·components·in·a·graph·using·igraph.GraphBase.
297 connected_components().297 connected_components().
298 import·igraph·as·ig298 import·igraph·as·ig
299 import·matplotlib.pyplot·as·plt299 import·matplotlib.pyplot·as·plt
300 import·random300 import·random
Offset 327, 15 lines modifiedOffset 327, 15 lines modified
327 edge_width=0.7327 edge_width=0.7
328 )328 )
329 plt.show()329 plt.show()
  
330 Note330 Note
331 We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex·colors,·since·255·in·the·igraph.drawing.331 We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex·colors,·since·255·in·the·igraph.drawing.
332 colors.RainbowPalette·corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.332 colors.RainbowPalette·corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.
333 Total·running·time·of·the·script:·(0·minutes·0.576·seconds)333 Total·running·time·of·the·script:·(0·minutes·1.990·seconds)
  
334 12334 12
  
335 Chapter·2.·Documentation335 Chapter·2.·Documentation
  
336 \xcigraph·Documentation,·Release·0.11.8336 \xcigraph·Documentation,·Release·0.11.8
  
Offset 375, 15 lines modifiedOffset 375, 15 lines modified
375 The·full·list·of·config·settings·can·be·found·at·igraph.Configuration.375 The·full·list·of·config·settings·can·be·found·at·igraph.Configuration.
376 Note376 Note
377 You·can·have·multiple·config·files:·specify·each·location·via·ig.config.save("./path/to/config/file").377 You·can·have·multiple·config·files:·specify·each·location·via·ig.config.save("./path/to/config/file").
378 To·load·a·specific·config,·import·igraph·and·then·call·ig.config.load("./path/to/config/file")378 To·load·a·specific·config,·import·igraph·and·then·call·ig.config.load("./path/to/config/file")
  
379 Note379 Note
380 To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,·colors,·layout·etc.)·check·out·Visual·styling.380 To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,·colors,·layout·etc.)·check·out·Visual·styling.
381 Total·running·time·of·the·script:·(0·minutes·1.141·seconds)381 Total·running·time·of·the·script:·(0·minutes·3.216·seconds)
  
382 14382 14
  
383 Chapter·2.·Documentation383 Chapter·2.·Documentation
  
384 \xcigraph·Documentation,·Release·0.11.8384 \xcigraph·Documentation,·Release·0.11.8
  
Offset 415, 15 lines modifiedOffset 415, 15 lines modified
  
415 2.2.·Gallery·of·Examples415 2.2.·Gallery·of·Examples
  
416 15416 15
  
417 \xcigraph·Documentation,·Release·0.11.8417 \xcigraph·Documentation,·Release·0.11.8
  
418 Total·running·time·of·the·script:·(0·minutes·0.144·seconds)418 Total·running·time·of·the·script:·(0·minutes·0.547·seconds)
  
419 2.2.5·Maximum·Flow419 2.2.5·Maximum·Flow
420 This·example·shows·how·to·construct·a·max·flow·on·a·directed·graph·with·edge·capacities·using·igraph.Graph.420 This·example·shows·how·to·construct·a·max·flow·on·a·directed·graph·with·edge·capacities·using·igraph.Graph.
421 maxflow().421 maxflow().
422 import·igraph·as·ig422 import·igraph·as·ig
423 import·matplotlib.pyplot·as·plt423 import·matplotlib.pyplot·as·plt
424 First,·we·generate·a·graph·and·assign·a·“capacity”·to·each·edge:424 First,·we·generate·a·graph·and·assign·a·“capacity”·to·each·edge:
Offset 459, 15 lines modifiedOffset 459, 15 lines modified
459 target=ax,459 target=ax,
460 layout="circle",460 layout="circle",
461 vertex_label=range(g.vcount()),461 vertex_label=range(g.vcount()),
462 vertex_color="lightblue"462 vertex_color="lightblue"
463 )463 )
464 plt.show()464 plt.show()
  
465 Total·running·time·of·the·script:·(0·minutes·0.107·seconds)465 Total·running·time·of·the·script:·(0·minutes·0.282·seconds)
  
466 2.2.·Gallery·of·Examples466 2.2.·Gallery·of·Examples
  
467 17467 17
  
468 \xcigraph·Documentation,·Release·0.11.8468 \xcigraph·Documentation,·Release·0.11.8
  
Offset 507, 15 lines modifiedOffset 507, 15 lines modified
  
507 18507 18
  
508 Chapter·2.·Documentation508 Chapter·2.·Documentation
  
509 \xcigraph·Documentation,·Release·0.11.8509 \xcigraph·Documentation,·Release·0.11.8
  
510 Total·running·time·of·the·script:·(0·minutes·0.355·seconds)510 Total·running·time·of·the·script:·(0·minutes·1.350·seconds)
  
511 2.2.7·Spanning·Trees511 2.2.7·Spanning·Trees
512 This·example·shows·how·to·generate·a·spanning·tree·from·an·input·graph·using·igraph.Graph.spanning_tree().512 This·example·shows·how·to·generate·a·spanning·tree·from·an·input·graph·using·igraph.Graph.spanning_tree().
513 For·the·related·idea·of·finding·a·minimum·spanning·tree,·see·Minimum·Spanning·Trees.513 For·the·related·idea·of·finding·a·minimum·spanning·tree,·see·Minimum·Spanning·Trees.
514 import·igraph·as·ig514 import·igraph·as·ig
515 import·matplotlib.pyplot·as·plt515 import·matplotlib.pyplot·as·plt
516 import·random516 import·random
Offset 565, 15 lines modifiedOffset 565, 15 lines modified
  
565 Chapter·2.·Documentation565 Chapter·2.·Documentation
  
566 \xcigraph·Documentation,·Release·0.11.8566 \xcigraph·Documentation,·Release·0.11.8
  
567 Note567 Note
568 To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,·you·can·call·ax.invert_yaxis()·before·plt.show().568 To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,·you·can·call·ax.invert_yaxis()·before·plt.show().
569 Total·running·time·of·the·script:·(0·minutes·0.429·seconds)569 Total·running·time·of·the·script:·(0·minutes·1.404·seconds)
  
570 2.2.8·Complement570 2.2.8·Complement
571 This·example·shows·how·to·generate·the·complement·graph·of·a·graph·(sometimes·known·as·the·anti-graph)·using571 This·example·shows·how·to·generate·the·complement·graph·of·a·graph·(sometimes·known·as·the·anti-graph)·using
572 igraph.GraphBase.complementer().572 igraph.GraphBase.complementer().
573 import·igraph·as·ig573 import·igraph·as·ig
574 import·matplotlib.pyplot·as·plt574 import·matplotlib.pyplot·as·plt
575 import·random575 import·random
Offset 633, 15 lines modifiedOffset 633, 15 lines modified
  
633 22633 22
  
634 Chapter·2.·Documentation634 Chapter·2.·Documentation
  
635 \xcigraph·Documentation,·Release·0.11.8635 \xcigraph·Documentation,·Release·0.11.8
  
636 Total·running·time·of·the·script:·(0·minutes·0.537·seconds)636 Total·running·time·of·the·script:·(0·minutes·1.759·seconds)
  
637 2.2.9·Maximum·Bipartite·Matching637 2.2.9·Maximum·Bipartite·Matching
638 This·example·demonstrates·an·efficient·way·to·find·and·visualise·a·maximum·biparite·matching·using·igraph.Graph.638 This·example·demonstrates·an·efficient·way·to·find·and·visualise·a·maximum·biparite·matching·using·igraph.Graph.
639 maximum_bipartite_matching().639 maximum_bipartite_matching().
640 import·igraph·as·ig640 import·igraph·as·ig
641 import·matplotlib.pyplot·as·plt641 import·matplotlib.pyplot·as·plt
642 First,·we·construct·a·bipartite·graph,·assigning:642 First,·we·construct·a·bipartite·graph,·assigning:
Max diff block lines reached; 10470/14438 bytes (72.52%) of diff not shown.