150 KB
/srv/reproducible-results/rbuild-debian/r-b-build.kdK8EjRZ/b1/python-igraph_0.11.8+ds-1_arm64.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.kdK8EjRZ/b2/python-igraph_0.11.8+ds-1_arm64.changes
412 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·a5a6416bd6da39c92991e640cec8cf8a·6063036·doc·optional·python-igraph-doc_0.11.8+ds-1_all.deb1 ·f5c2f39798d9567cf09921014a160c19·6063088·doc·optional·python-igraph-doc_0.11.8+ds-1_all.deb
2 ·93593347fe8a299b9474dd7d9df9842f·380432·debug·optional·python3-igraph-dbgsym_0.11.8+ds-1_arm64.deb2 ·93593347fe8a299b9474dd7d9df9842f·380432·debug·optional·python3-igraph-dbgsym_0.11.8+ds-1_arm64.deb
3 ·7bba5be4a2b042b1e80ba9a8d2e48bfa·320048·python·optional·python3-igraph_0.11.8+ds-1_arm64.deb3 ·7bba5be4a2b042b1e80ba9a8d2e48bfa·320048·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····13752·2024-11-10·15:46:20.000000·control.tar.xz2 -rw-r--r--···0········0········0····13740·2024-11-10·15:46:20.000000·control.tar.xz
3 -rw-r--r--···0········0········0··6049092·2024-11-10·15:46:20.000000·data.tar.xz3 -rw-r--r--···0········0········0··6049156·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
148 KB
data.tar.xz
148 KB
data.tar
7.77 KB
file list
    
Offset 258, 15 lines modifiedOffset 258, 15 lines modified
258 -rw-r--r--···0·root·········(0)·root·········(0)·····3874·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/quickstart.rst.txt258 -rw-r--r--···0·root·········(0)·root·········(0)·····3874·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/quickstart.rst.txt
259 -rw-r--r--···0·root·········(0)·root·········(0)···222645·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/ring_animation.rst.txt259 -rw-r--r--···0·root·········(0)·root·········(0)···222645·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/ring_animation.rst.txt
260 -rw-r--r--···0·root·········(0)·root·········(0)·····5125·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/shortest_path_visualisation.rst.txt260 -rw-r--r--···0·root·········(0)·root·········(0)·····5125·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/shortest_path_visualisation.rst.txt
261 -rw-r--r--···0·root·········(0)·root·········(0)·····3790·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/simplify.rst.txt261 -rw-r--r--···0·root·········(0)·root·········(0)·····3790·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/simplify.rst.txt
262 -rw-r--r--···0·root·········(0)·root·········(0)·····4015·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/spanning_trees.rst.txt262 -rw-r--r--···0·root·········(0)·root·········(0)·····4015·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/spanning_trees.rst.txt
263 -rw-r--r--···0·root·········(0)·root·········(0)·····4685·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/topological_sort.rst.txt263 -rw-r--r--···0·root·········(0)·root·········(0)·····4685·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/topological_sort.rst.txt
264 -rw-r--r--···0·root·········(0)·root·········(0)·····5384·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visual_style.rst.txt264 -rw-r--r--···0·root·········(0)·root·········(0)·····5384·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visual_style.rst.txt
265 -rw-r--r--···0·root·········(0)·root·········(0)·····4087·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_cliques.rst.txt265 -rw-r--r--···0·root·········(0)·root·········(0)·····4088·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_cliques.rst.txt
266 -rw-r--r--···0·root·········(0)·root·········(0)·····4002·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_communities.rst.txt266 -rw-r--r--···0·root·········(0)·root·········(0)·····4002·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_sources/tutorials/visualize_communities.rst.txt
267 -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.txt267 -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
268 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/268 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/
269 -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.js269 -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
270 -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.css270 -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
271 -rw-r--r--···0·root·········(0)·root·········(0)·····3380·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/binder_badge_logo.svg271 -rw-r--r--···0·root·········(0)·root·········(0)·····3380·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/binder_badge_logo.svg
272 -rw-r--r--···0·root·········(0)·root·········(0)····21404·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/broken_example.png272 -rw-r--r--···0·root·········(0)·root·········(0)····21404·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/_static/broken_example.png
Offset 512, 15 lines modifiedOffset 512, 15 lines modified
512 -rw-r--r--···0·root·········(0)·root·········(0)····18430·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/faq.html512 -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
513 -rw-r--r--···0·root·········(0)·root·········(0)····31934·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/generation.html513 -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
514 -rw-r--r--···0·root·········(0)·root·········(0)·····4759·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/genindex.html514 -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
515 -rw-r--r--···0·root·········(0)·root·········(0)····10616·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/index.html515 -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
516 -rw-r--r--···0·root·········(0)·root·········(0)····25754·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/install.html516 -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
517 -rw-r--r--···0·root·········(0)·root·········(0)·····1935·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/objects.inv517 -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
518 -rw-r--r--···0·root·········(0)·root·········(0)·····5158·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/search.html518 -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
519 -rw-r--r--···0·root·········(0)·root·········(0)····78541·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/searchindex.js519 -rw-r--r--···0·root·········(0)·root·········(0)····78536·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/searchindex.js
520 -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.html520 -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
521 -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.html521 -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
522 -rw-r--r--···0·root·········(0)·root·········(0)···135840·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorial.html522 -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
523 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/523 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/
524 -rw-r--r--···0·root·········(0)·root·········(0)····17208·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html524 -rw-r--r--···0·root·········(0)·root·········(0)····17208·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html
525 -rw-r--r--···0·root·········(0)·root·········(0)····29742·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html525 -rw-r--r--···0·root·········(0)·root·········(0)····29742·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html
526 -rw-r--r--···0·root·········(0)·root·········(0)····23870·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html526 -rw-r--r--···0·root·········(0)·root·········(0)····23870·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html
Offset 541, 18 lines modifiedOffset 541, 18 lines modified
541 -rw-r--r--···0·root·········(0)·root·········(0)····25572·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/quickstart.html541 -rw-r--r--···0·root·········(0)·root·········(0)····25572·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/quickstart.html
542 -rw-r--r--···0·root·········(0)·root·········(0)···224725·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/ring_animation.html542 -rw-r--r--···0·root·········(0)·root·········(0)···224725·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/ring_animation.html
543 -rw-r--r--···0·root·········(0)·root·········(0)····26924·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/shortest_path_visualisation.html543 -rw-r--r--···0·root·········(0)·root·········(0)····26924·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/shortest_path_visualisation.html
544 -rw-r--r--···0·root·········(0)·root·········(0)····21779·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html544 -rw-r--r--···0·root·········(0)·root·········(0)····21779·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html
545 -rw-r--r--···0·root·········(0)·root·········(0)····24377·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html545 -rw-r--r--···0·root·········(0)·root·········(0)····24377·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html
546 -rw-r--r--···0·root·········(0)·root·········(0)····24065·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html546 -rw-r--r--···0·root·········(0)·root·········(0)····24065·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html
547 -rw-r--r--···0·root·········(0)·root·········(0)····27331·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html547 -rw-r--r--···0·root·········(0)·root·········(0)····27331·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html
548 -rw-r--r--···0·root·········(0)·root·········(0)····23925·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html548 -rw-r--r--···0·root·········(0)·root·········(0)····23926·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html
549 -rw-r--r--···0·root·········(0)·root·········(0)····24048·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html549 -rw-r--r--···0·root·········(0)·root·········(0)····24048·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html
550 -rw-r--r--···0·root·········(0)·root·········(0)····33649·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/visualisation.html550 -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
551 -rw-r--r--···0·root·········(0)·root·········(0)··1889588·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/igraph.pdf.gz551 -rw-r--r--···0·root·········(0)·root·········(0)··1889575·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/igraph.pdf.gz
552 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc-base/552 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc-base/
553 -rw-r--r--···0·root·········(0)·root·········(0)······362·2024-05-10·15:38:04.000000·./usr/share/doc-base/python-igraph-doc.igraph553 -rw-r--r--···0·root·········(0)·root·········(0)······362·2024-05-10·15:38:04.000000·./usr/share/doc-base/python-igraph-doc.igraph
554 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/554 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/
555 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/overrides/555 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/overrides/
556 -rw-r--r--···0·root·········(0)·root·········(0)······154·2024-05-10·15:38:04.000000·./usr/share/lintian/overrides/python-igraph-doc556 -rw-r--r--···0·root·········(0)·root·········(0)······154·2024-05-10·15:38:04.000000·./usr/share/lintian/overrides/python-igraph-doc
557 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.css557 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
558 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.css558 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.157·seconds)109 ···**Total·running·time·of·the·script:**·(0·minutes·0.148·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.112·seconds)194 ···**Total·running·time·of·the·script:**·(0·minutes·2.316·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·0xffffac77a8d0>163 ····<igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xffff7512fce0>
  
  
  
  
164 ..·rst-class::·sphx-glr-timing164 ..·rst-class::·sphx-glr-timing
  
165 ···**Total·running·time·of·the·script:**·(0·minutes·0.140·seconds)165 ···**Total·running·time·of·the·script:**·(0·minutes·0.147·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.170·seconds)177 ···**Total·running·time·of·the·script:**·(0·minutes·0.180·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.557·seconds)210 ···**Total·running·time·of·the·script:**·(0·minutes·0.457·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.556·seconds)402 ···**Total·running·time·of·the·script:**·(0·minutes·1.624·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.548·seconds)174 ···**Total·running·time·of·the·script:**·(0·minutes·0.562·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.174·seconds)162 ···**Total·running·time·of·the·script:**·(0·minutes·1.185·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.587·seconds)121 ···**Total·running·time·of·the·script:**·(0·minutes·0.615·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·0xffffbbd96950>142 ····<igraph.Graph·object·at·0xffff84762950>
  
  
  
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.650·seconds)245 ···**Total·running·time·of·the·script:**·(0·minutes·0.714·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.872·seconds)187 ···**Total·running·time·of·the·script:**·(0·minutes·0.900·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.563·seconds)148 ···**Total·running·time·of·the·script:**·(0·minutes·1.096·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.299·seconds)155 ···**Total·running·time·of·the·script:**·(0·minutes·0.310·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.116·seconds)122 ···**Total·running·time·of·the·script:**·(0·minutes·0.109·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.374·seconds)142 ···**Total·running·time·of·the·script:**·(0·minutes·0.373·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.521·seconds)246 ···**Total·running·time·of·the·script:**·(0·minutes·0.537·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.261·seconds)108 ···**Total·running·time·of·the·script:**·(0·minutes·0.267·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_img3cfa6eaf57d943a297abe656df4f68fc">345 ·······<img·id="_anim_imgd0964743fc1541d6b5f19469eacae764">
346 ·······<div·class="anim-controls">346 ·······<div·class="anim-controls">
347 ·········<input·id="_anim_slider3cfa6eaf57d943a297abe656df4f68fc"·type="range"·class="anim-slider"347 ·········<input·id="_anim_sliderd0964743fc1541d6b5f19469eacae764"·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="anim3cfa6eaf57d943a297abe656df4f68fc.set_frame(parseInt(this.value));">349 ················oninput="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.slower()">351 ···········<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.first_frame()">353 ···········<button·title="First·frame"·aria-label="First·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.previous_frame()">355 ···········<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.reverse_animation()">357 ···········<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.pause_animation()">359 ···········<button·title="Pause"·aria-label="Pause"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.play_animation()">361 ···········<button·title="Play"·aria-label="Play"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.next_frame()">363 ···········<button·title="Next·frame"·aria-label="Next·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.last_frame()">365 ···········<button·title="Last·frame"·aria-label="Last·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.faster()">367 ···········<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="animd0964743fc1541d6b5f19469eacae764.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_select3cfa6eaf57d943a297abe656df4f68fc"370 ·········<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_selectd0964743fc1541d6b5f19469eacae764"
371 ···············class="anim-state">371 ···············class="anim-state">
372 ···········<input·type="radio"·name="state"·value="once"·id="_anim_radio1_3cfa6eaf57d943a297abe656df4f68fc"372 ···········<input·type="radio"·name="state"·value="once"·id="_anim_radio1_d0964743fc1541d6b5f19469eacae764"
373 ··················>373 ··················>
374 ···········<label·for="_anim_radio1_3cfa6eaf57d943a297abe656df4f68fc">Once</label>374 ···········<label·for="_anim_radio1_d0964743fc1541d6b5f19469eacae764">Once</label>
375 ···········<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_3cfa6eaf57d943a297abe656df4f68fc"375 ···········<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_d0964743fc1541d6b5f19469eacae764"
376 ··················checked>376 ··················checked>
377 ···········<label·for="_anim_radio2_3cfa6eaf57d943a297abe656df4f68fc">Loop</label>377 ···········<label·for="_anim_radio2_d0964743fc1541d6b5f19469eacae764">Loop</label>
378 ···········<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_3cfa6eaf57d943a297abe656df4f68fc"378 ···········<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_d0964743fc1541d6b5f19469eacae764"
379 ··················>379 ··················>
380 ···········<label·for="_anim_radio3_3cfa6eaf57d943a297abe656df4f68fc">Reflect</label>380 ···········<label·for="_anim_radio3_d0964743fc1541d6b5f19469eacae764">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_img3cfa6eaf57d943a297abe656df4f68fc"; 
389 ·········var·slider_id·=·"_anim_slider3cfa6eaf57d943a297abe656df4f68fc"; 
390 ·········var·loop_select_id·=·"_anim_loop_select3cfa6eaf57d943a297abe656df4f68fc";388 ·········var·img_id·=·"_anim_imgd0964743fc1541d6b5f19469eacae764";
 389 ·········var·slider_id·=·"_anim_sliderd0964743fc1541d6b5f19469eacae764";
 390 ·········var·loop_select_id·=·"_anim_loop_selectd0964743fc1541d6b5f19469eacae764";
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 ·············anim3cfa6eaf57d943a297abe656df4f68fc·=·new·Animation(frames,·img_id,·slider_id,·500.0,2925 ·············animd0964743fc1541d6b5f19469eacae764·=·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.311·seconds)2949 ···**Total·running·time·of·the·script:**·(0·minutes·2.616·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.114·seconds)190 ···**Total·running·time·of·the·script:**·(0·minutes·0.124·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
492 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·0xffffafe8af50>90 ····<igraph.Graph·object·at·0xffff7c8db550>
  
  
  
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:
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.442·seconds)165 ···**Total·running·time·of·the·script:**·(0·minutes·0.650·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.118·seconds)180 ···**Total·running·time·of·the·script:**·(0·minutes·0.129·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.990·seconds)213 ···**Total·running·time·of·the·script:**·(0·minutes·2.284·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.791·seconds)156 ···**Total·running·time·of·the·script:**·(0·minutes·11.982·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.474·seconds)156 ···**Total·running·time·of·the·script:**·(0·minutes·0.477·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.62 KB
./usr/share/doc/python-igraph-doc/html/searchindex.js
4.51 KB
js-beautify {}
    
Offset 466, 53 lines modifiedOffset 466, 53 lines modified
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 ········"079":·7,471 ········"079":·7,
472 ········"08f":·[8,·9],472 ········"08f":·[8,·9],
 473 ········"096":·21,
473 ········"0xffffac77a8d0":·12,474 ········"0xffff7512fce0":·12,
474 ········"0xffffafe8af50":·30,475 ········"0xffff7c8db550":·30,
475 ········"0xffffbbd96950":·19,476 ········"0xffff84762950":·19,
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],477 ········"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],
477 ········"10":·[0,·4,·5,·7,·8,·9,·11,·13,·14,·15,·16,·26,·28],478 ········"10":·[0,·4,·5,·7,·8,·9,·11,·13,·14,·15,·16,·26,·28],
478 ········"100":·[0,·8,·9,·15,·17,·19,·35,·36],479 ········"100":·[0,·8,·9,·15,·17,·19,·35,·36],
479 ········"10000":·9,480 ········"10000":·9,
 481 ········"109":·24,
480 ········"11":·[13,·14,·27,·28],482 ········"11":·[13,·14,·27,·28,·34],
481 ········"111223":·4,483 ········"111223":·4,
482 ········"112":·11, 
483 ········"112222":·4,484 ········"112222":·4,
484 ········"114":·29, 
485 ········"116":·24, 
486 ········"118":·32, 
487 ········"12":·[8,·9,·14,·27,·28],485 ········"12":·[8,·9,·14,·27,·28],
488 ········"1205":·[8,·9],486 ········"1205":·[8,·9],
 487 ········"124":·29,
489 ········"1252":·4,488 ········"1252":·4,
490 ········"126":·[8,·9],489 ········"126":·[8,·9],
491 ········"127":·[8,·9],490 ········"127":·[8,·9],
492 ········"1282":·27,491 ········"1282":·27,
 492 ········"129":·32,
493 ········"13":·14,493 ········"13":·14,
494 ········"136":·25,494 ········"136":·25,
495 ········"137":·7,495 ········"137":·7,
496 ········"14":·[11,·14],496 ········"14":·[11,·14],
497 ········"140":·12, 
498 ········"142":·7,497 ········"142":·7,
 498 ········"147":·12,
 499 ········"148":·10,
499 ········"15":·[8,·9,·15,·17,·18,·20,·21,·23,·33],500 ········"15":·[8,·9,·15,·17,·18,·20,·21,·23,·33],
500 ········"150":·11,501 ········"150":·11,
501 ········"153":·7,502 ········"153":·7,
502 ········"157":·10, 
503 ········"16":·11,503 ········"16":·11,
504 ········"161":·7,504 ········"161":·7,
505 ········"169":·7,505 ········"169":·7,
506 ········"1695":·5,506 ········"1695":·5,
507 ········"170":·13, 
508 ········"174":·17, 
509 ········"176":·7,507 ········"176":·7,
510 ········"18":·[8,·9,·20],508 ········"18":·[8,·9,·20],
 509 ········"180":·13,
511 ········"181":·30,510 ········"181":·30,
 511 ········"185":·17,
512 ········"194":·7,512 ········"194":·7,
513 ········"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],513 ········"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],
514 ········"20":·[8,·9,·11,·15,·20,·25,·30,·33,·35,·36],514 ········"20":·[8,·9,·11,·15,·20,·25,·30,·33,·35,·36],
515 ········"200":·[17,·18],515 ········"200":·[17,·18],
516 ········"2006":·5,516 ········"2006":·5,
517 ········"2009":·[8,·9],517 ········"2009":·[8,·9],
518 ········"201":·[7,·25],518 ········"201":·[7,·25],
Offset 522, 83 lines modifiedOffset 522, 82 lines modified
522 ········"216":·7,522 ········"216":·7,
523 ········"22":·[8,·9],523 ········"22":·[8,·9],
524 ········"222":·21,524 ········"222":·21,
525 ········"23":·[8,·9,·20],525 ········"23":·[8,·9,·20],
526 ········"2386714":·9,526 ········"2386714":·9,
527 ········"25":·[7,·8,·9,·23,·32],527 ········"25":·[7,·8,·9,·23,·32],
528 ········"255":·[8,·9,·15,·18,·33],528 ········"255":·[8,·9,·15,·18,·33],
529 ········"261":·27,529 ········"267":·27,
530 ········"270":·[8,·9],530 ········"270":·[8,·9],
531 ········"28":·20,531 ········"28":·20,
 532 ········"284":·33,
532 ········"287":·7,533 ········"287":·7,
533 ········"29":·[8,·9],534 ········"29":·[8,·9],
534 ········"299":·23, 
535 ········"2d":·[8,·9,·19,·28,·31,·36],535 ········"2d":·[8,·9,·19,·28,·31,·36],
536 ········"2r09ej221sk2k5":·26,536 ········"2r09ej221sk2k5":·26,
537 ········"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],537 ········"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],
538 ········"30":·[8,·9,·10,·12,·13,·14,·19,·21,·27,·33],538 ········"30":·[8,·9,·10,·12,·13,·14,·19,·21,·27,·33],
539 ········"300":·[8,·9],539 ········"300":·[8,·9],
540 ········"30745059034535":·11,540 ········"30745059034535":·11,
541 ········"31":·[8,·9],541 ········"31":·[8,·9],
542 ········"311":·28,542 ········"310":·23,
543 ········"313":·7,543 ········"313":·7,
 544 ········"316":·11,
544 ········"3203ejew332323":·26,545 ········"3203ejew332323":·26,
545 ········"320eljl3lk3239":·26,546 ········"320eljl3lk3239":·26,
546 ········"332":·7,547 ········"332":·7,
547 ········"34":·[8,·9],548 ········"34":·[8,·9],
548 ········"35":·20,549 ········"35":·20,
549 ········"36":·31,550 ········"36":·31,
550 ········"374":·25,551 ········"373":·25,
551 ········"376":·[8,·9],552 ········"376":·[8,·9],
552 ········"38":·23,553 ········"38":·23,
553 ········"3d":·[8,·9,·36],554 ········"3d":·[8,·9,·36],
554 ········"4":·[0,·4,·8,·9,·10,·12,·13,·14,·15,·19,·23,·24,·27,·29,·30,·32,·33,·34,·36],555 ········"4":·[0,·4,·8,·9,·10,·12,·13,·14,·15,·19,·23,·24,·27,·29,·30,·32,·33,·34,·36],
555 ········"40m11919332msa":·26,556 ········"40m11919332msa":·26,
556 ········"416":·7,557 ········"416":·7,
557 ········"44":·4,558 ········"44":·4,
558 ········"442":·31,559 ········"457":·14,
559 ········"47":·[8,·9],560 ········"47":·[8,·9],
560 ········"474":·35, 
561 ········"477":·11,561 ········"477":·[11,·35],
562 ········"494":·27,562 ········"494":·27,
563 ········"4r4320dkqpdokk":·26,563 ········"4r4320dkqpdokk":·26,
564 ········"5":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·16,·23,·24,·25,·27,·28,·29,·31,·32,·33,·34,·36],564 ········"5":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·16,·23,·24,·25,·27,·28,·29,·31,·32,·33,·34,·36],
565 ········"50":·[8,·9,·11,·18],565 ········"50":·[8,·9,·11,·18],
566 ········"500":·28,566 ········"500":·28,
567 ········"504":·7,567 ········"504":·7,
568 ········"516":·[8,·9],568 ········"516":·[8,·9],
569 ········"517":·6,569 ········"517":·6,
570 ········"521":·26,570 ········"537":·26,
571 ········"548":·16,571 ········"562":·16,
572 ········"556":·15, 
573 ········"557":·14, 
574 ········"563":·21, 
575 ········"587":·18, 
576 ········"6":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·24,·29,·31],572 ········"6":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·24,·29,·31],
577 ········"600":·[8,·9],573 ········"600":·[8,·9],
 574 ········"615":·18,
 575 ········"616":·28,
 576 ········"624":·15,
578 ········"65":·23,577 ········"65":·23,
579 ········"650":·19,578 ········"650":·31,
580 ········"666":·29,579 ········"666":·29,
581 ········"7":·[4,·8,·9,·10,·11,·12,·13,·14,·15,·18,·24,·27,·29],580 ········"7":·[4,·8,·9,·10,·11,·12,·13,·14,·15,·18,·24,·27,·29],
Max diff block lines reached; 760/4594 bytes (16.54%) of diff not shown.
4.06 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>·<a·href="/en/latest/api/igraph.VertexSeq.html"·title="igraph.VertexSeq"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">articulation_points</span></a>·<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>·<a·href="/en/latest/api/igraph.Graph.html#vs"·title="igraph.Graph.vs"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">vs</span></a><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>·<a·href="/en/latest/api/igraph.VertexSeq.html"·title="igraph.VertexSeq"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">articulation_points</span></a>·<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>·<a·href="/en/latest/api/igraph.Graph.html#vs"·title="igraph.Graph.vs"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">vs</span></a><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.157·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.148·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.19 KB
html2text {}
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 in·_\x8g_\x8._\x8v_\x8s],66 in·_\x8g_\x8._\x8v_\x8s],
67 ····vertex_frame_width·=·[3·if·v·in·_\x8a_\x8r_\x8t_\x8i_\x8c_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·else·1·for·v·in·_\x8g_\x8._\x8v_\x8s],67 ····vertex_frame_width·=·[3·if·v·in·_\x8a_\x8r_\x8t_\x8i_\x8c_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s·else·1·for·v·in·_\x8g_\x8._\x8v_\x8s],
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\x8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8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t78 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
79 ===============================================================================79 ===============================================================================
80 ©·Copyright·2010-2024,·The·igraph·development·team.80 ©·Copyright·2010-2024,·The·igraph·development·team.
3.28 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.112·seconds)</p>211 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.316·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.07 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.112·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·2.316·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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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
137 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t137 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
138 ===============================================================================138 ===============================================================================
139 ©·Copyright·2010-2024,·The·igraph·development·team.139 ©·Copyright·2010-2024,·The·igraph·development·team.
6.69 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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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>·<a·href="/en/latest/api/igraph.Matching.html#match_of"·title="igraph.Matching.match_of"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-method"><span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span></a><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>·<a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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>·<a·href="/en/latest/api/igraph.Matching.html#match_of"·title="igraph.Matching.match_of"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-method"><span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span></a><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>·<a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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>·<a·href="/en/latest/api/igraph.Matching.html#match_of"·title="igraph.Matching.match_of"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-method"><span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span></a><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>·<a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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>·<a·href="/en/latest/api/igraph.Matching.html#match_of"·title="igraph.Matching.match_of"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-method"><span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span></a><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>·<a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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">0xffffac77a8d0</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">0xffff7512fce0</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.140·seconds)</p>186 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.147·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.42 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·==·_\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8m_\x8a_\x8t_\x8c_\x8h_\x8__\x8o_\x8f(e.source)·else·1.0·for·e·in86 ····edge_width=[3·if·e.target·==·_\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8m_\x8a_\x8t_\x8c_\x8h_\x8__\x8o_\x8f(e.source)·else·1.0·for·e·in
87 _\x8g_\x8._\x8e_\x8s],87 _\x8g_\x8._\x8e_\x8s],
88 ····edge_color=["red"·if·e.target·==·_\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8m_\x8a_\x8t_\x8c_\x8h_\x8__\x8o_\x8f(e.source)·else·"black"88 ····edge_color=["red"·if·e.target·==·_\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8m_\x8a_\x8t_\x8c_\x8h_\x8__\x8o_\x8f(e.source)·else·"black"
89 for·e·in·_\x8g_\x8._\x8e_\x8s]89 for·e·in·_\x8g_\x8._\x8e_\x8s]
90 )90 )
91 [bipartite·matching]91 [bipartite·matching]
92 <igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xffffac77a8d0>92 <igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xffff7512fce0>
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.140·seconds)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.147·seconds)
94 _\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_\x8i_\x8p_\x8a_\x8r_\x8t_\x8i_\x8t_\x8e_\x8__\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8i_\x8p_\x8y_\x8n_\x8b94 _\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_\x8i_\x8p_\x8a_\x8r_\x8t_\x8i_\x8t_\x8e_\x8__\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
95 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_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8e_\x8r_\x8y97 _\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
98 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t98 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
99 ===============================================================================99 ===============================================================================
100 ©·Copyright·2010-2024,·The·igraph·development·team.100 ©·Copyright·2010-2024,·The·igraph·development·team.
4.94 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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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>·<a·href="/en/latest/api/igraph.Flow.html#flow"·title="igraph.Flow.flow"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">flow</span><span·class="o">.</span><span·class="n">flow</span></a><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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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>·<a·href="/en/latest/api/igraph.Flow.html#flow"·title="igraph.Flow.flow"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">flow</span><span·class="o">.</span><span·class="n">flow</span></a><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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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.170·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.180·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.29 KB
html2text {}
    
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 ····vertex_size=30,96 ····vertex_size=30,
97 ····vertex_label=range(_\x8g.vcount()),97 ····vertex_label=range(_\x8g.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·+·_\x8f_\x8l_\x8o_\x8w_\x8._\x8f_\x8l_\x8o_\x8w[i]·for·i·in·range(_\x8g.ecount())]99 ····edge_width=[1.0·+·_\x8f_\x8l_\x8o_\x8w_\x8._\x8f_\x8l_\x8o_\x8w[i]·for·i·in·range(_\x8g.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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8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
108 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t108 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
109 ===============================================================================109 ===============================================================================
110 ©·Copyright·2010-2024,·The·igraph·development·team.110 ©·Copyright·2010-2024,·The·igraph·development·team.
3.49 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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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.557·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·0.457·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.1 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=_\x8g_\x8._\x8e_\x8s["label"],103 ····edge_label=_\x8g_\x8._\x8e_\x8s["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.557·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.457·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_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\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y112 _\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
113 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t113 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
114 ===============================================================================114 ===============================================================================
115 ©·Copyright·2010-2024,·The·igraph·development·team.115 ©·Copyright·2010-2024,·The·igraph·development·team.
3.47 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.556·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·1.624·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.12 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.556·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·1.624·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_\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_\x8i_\x8p246 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8c_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8t_\x8r_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8z_\x8i_\x8p
247 _\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_\x8y247 _\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
248 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t248 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
249 ===============================================================================249 ===============================================================================
250 ©·Copyright·2010-2024,·The·igraph·development·team.250 ©·Copyright·2010-2024,·The·igraph·development·team.
3.54 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.548·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·0.562·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.1 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\x8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\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8p_\x8y
105 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8z_\x8i_\x8p105 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8c_\x8o_\x8m_\x8p_\x8l_\x8e_\x8m_\x8e_\x8n_\x8t_\x8._\x8z_\x8i_\x8p
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.
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.174·seconds)</p>174 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.185·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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8:_\x8·_\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8u_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y
87 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8u_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8z_\x8i_\x8p87 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8c_\x8o_\x8n_\x8f_\x8i_\x8g_\x8u_\x8r_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8z_\x8i_\x8p
88 _\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_\x8y88 _\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
89 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t89 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
90 ===============================================================================90 ===============================================================================
91 ©·Copyright·2010-2024,·The·igraph·development·team.91 ©·Copyright·2010-2024,·The·igraph·development·team.
3.37 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.587·seconds)</p>160 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.615·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.29 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.587·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·0.615·seconds)
77 _\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_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b77 _\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_\x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\x8n_\x8e_\x8n_\x8t_\x8s_\x8._\x8z_\x8i_\x8p
80 _\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_\x8y80 _\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
81 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t81 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
82 ===============================================================================82 ===============================================================================
83 ©·Copyright·2010-2024,·The·igraph·development·team.83 ©·Copyright·2010-2024,·The·igraph·development·team.
6.28 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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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">0xffffbbd96950</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">0xffff84762950</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 ····<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><span·class="p">,</span>174 ····<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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.650·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·0.714·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.69 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 _\x8g.simplify()77 _\x8g.simplify()
78 <igraph.Graph·object·at·0xffffbbd96950>78 <igraph.Graph·object·at·0xffff84762950>
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 ····_\x8g,83 ····_\x8g,
84 ····_\x8l_\x8a_\x8y_\x8o_\x8u_\x8t=_\x8l_\x8a_\x8y_\x8o_\x8u_\x8t,84 ····_\x8l_\x8a_\x8y_\x8o_\x8u_\x8t=_\x8l_\x8a_\x8y_\x8o_\x8u_\x8t,
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·minutes·0.650·seconds)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·minutes·0.714·seconds)
122 _\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·_\x8d_\x8e_\x8l_\x8a_\x8u_\x8n_\x8a_\x8y_\x8-_\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b122 _\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·_\x8d_\x8e_\x8l_\x8a_\x8u_\x8n_\x8a_\x8y_\x8-_\x8t_\x8r_\x8i_\x8a_\x8n_\x8g_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
123 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8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x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y125 _\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
126 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t126 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
127 ===============================================================================127 ===============================================================================
128 ©·Copyright·2010-2024,·The·igraph·development·team.128 ©·Copyright·2010-2024,·The·igraph·development·team.
3.32 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.872·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·0.900·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.872·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·0.900·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_\x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8a_\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_\x8y119 _\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
120 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t120 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
121 ===============================================================================121 ===============================================================================
122 ©·Copyright·2010-2024,·The·igraph·development·team.122 ©·Copyright·2010-2024,·The·igraph·development·team.
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.563·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.096·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\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.563·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.096·seconds)
77 _\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·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8d_\x8a_\x8g_\x8._\x8i_\x8p_\x8y_\x8n_\x8b77 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_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x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y80 _\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
81 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t81 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
82 ===============================================================================82 ===============================================================================
83 ©·Copyright·2010-2024,·The·igraph·development·team.83 ©·Copyright·2010-2024,·The·igraph·development·team.
5.73 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>·<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g1</span></a><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a><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>·<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g1</span></a><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a><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>·<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g3</span></a><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>·<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g3</span></a><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.299·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·0.310·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·_\x8g_\x81.isomorphic(_\x8g_\x82)·else·'$\\neq$',104 fig.text(0.38,·0.5,·'$\\simeq$'·if·_\x8g_\x81.isomorphic(_\x8g_\x82)·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·_\x8g_\x82.isomorphic(_\x8g_\x83)·else·'$\\neq$',106 fig.text(0.65,·0.5,·'$\\simeq$'·if·_\x8g_\x82.isomorphic(_\x8g_\x83)·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\x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_\x8r_\x8p_\x8h_\x8i_\x8s_\x8m_\x8._\x8p_\x8y
113 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8i_\x8s_\x8o_\x8m_\x8o_\x8r_\x8p_\x8h_\x8i_\x8s_\x8m_\x8._\x8z_\x8i_\x8p113 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8i_\x8s_\x8o_\x8m_\x8o_\x8r_\x8p_\x8h_\x8i_\x8s_\x8m_\x8._\x8z_\x8i_\x8p
114 _\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_\x8y114 _\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
115 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t115 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
116 ===============================================================================116 ===============================================================================
117 ©·Copyright·2010-2024,·The·igraph·development·team.117 ©·Copyright·2010-2024,·The·igraph·development·team.
3.33 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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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.116·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.109·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>
1020 B
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(_\x8g.vcount()),74 ····vertex_label=range(_\x8g.vcount()),
75 ····vertex_color="lightblue"75 ····vertex_color="lightblue"
76 )76 )
77 plt.show()77 plt.show()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\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8m_\x8a_\x8x_\x8f_\x8l_\x8o_\x8w_\x8._\x8p_\x8y
82 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8m_\x8a_\x8x_\x8f_\x8l_\x8o_\x8w_\x8._\x8z_\x8i_\x8p82 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8m_\x8a_\x8x_\x8f_\x8l_\x8o_\x8w_\x8._\x8z_\x8i_\x8p
83 _\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_\x8y83 _\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
84 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t84 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
85 ===============================================================================85 ===============================================================================
86 ©·Copyright·2010-2024,·The·igraph·development·team.86 ©·Copyright·2010-2024,·The·igraph·development·team.
3.95 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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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.374·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·0.373·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.17 KB
html2text {}
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 ····vertex_color="lightblue",77 ····vertex_color="lightblue",
78 ····edge_width=_\x8g_\x8._\x8e_\x8s["width"],78 ····edge_width=_\x8g_\x8._\x8e_\x8s["width"],
79 ····edge_label=_\x8g_\x8._\x8e_\x8s["weight"],79 ····edge_label=_\x8g_\x8._\x8e_\x8s["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.374·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·0.373·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·_\x8m_\x8i_\x8n_\x8i_\x8m_\x8u_\x8m_\x8__\x8s_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\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x8e_\x8s_\x8._\x8z_\x8i_\x8p87 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8m_\x8i_\x8n_\x8i_\x8m_\x8u_\x8m_\x8__\x8s_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8z_\x8i_\x8p
88 _\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_\x8y88 _\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
89 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t89 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
90 ===============================================================================90 ===============================================================================
91 ©·Copyright·2010-2024,·The·igraph·development·team.91 ©·Copyright·2010-2024,·The·igraph·development·team.
4.08 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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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><a·href="/en/latest/api/igraph.Graph.html#es"·title="igraph.Graph.es"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-attribute"><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span></a><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.521·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.537·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.19 KB
html2text {}
    
Offset 124, 15 lines modifiedOffset 124, 15 lines modified
124 ····vertex_label=_\x8g_\x8._\x8v_\x8s['name'],124 ····vertex_label=_\x8g_\x8._\x8v_\x8s['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=_\x8g_\x8._\x8e_\x8s["weight"],127 ····edge_width=_\x8g_\x8._\x8e_\x8s["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.521·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.537·seconds)
132 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x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n_\x8e_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8z_\x8i_\x8p134 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8o_\x8n_\x8l_\x8i_\x8n_\x8e_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8z_\x8i_\x8p
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.
3.43 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 <a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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 <a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a><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 <a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a>·<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 <a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g</span></a>·<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.261·seconds)</p>185 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.267·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.11 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 _\x8g.save("social_network.gml")106 _\x8g.save("social_network.gml")
107 _\x8g·=·ig.load("social_network.gml")107 _\x8g·=·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.261·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.267·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_\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·_\x8q_\x8u_\x8i_\x8c_\x8k_\x8s_\x8t_\x8a_\x8r_\x8t_\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·_\x8q_\x8u_\x8i_\x8c_\x8k_\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\x8N_\x8e_\x8x_\x8t
114 ===============================================================================114 ===============================================================================
115 ©·Copyright·2010-2024,·The·igraph·development·team.115 ©·Copyright·2010-2024,·The·igraph·development·team.
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_img3cfa6eaf57d943a297abe656df4f68fc">378 ··<img·id="_anim_imgd0964743fc1541d6b5f19469eacae764">
379 ··<div·class="anim-controls">379 ··<div·class="anim-controls">
380 ····<input·id="_anim_slider3cfa6eaf57d943a297abe656df4f68fc"·type="range"·class="anim-slider"380 ····<input·id="_anim_sliderd0964743fc1541d6b5f19469eacae764"·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="anim3cfa6eaf57d943a297abe656df4f68fc.set_frame(parseInt(this.value));">382 ···········oninput="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.slower()">384 ······<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.first_frame()">386 ······<button·title="First·frame"·aria-label="First·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.previous_frame()">388 ······<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.reverse_animation()">390 ······<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.pause_animation()">392 ······<button·title="Pause"·aria-label="Pause"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.play_animation()">394 ······<button·title="Play"·aria-label="Play"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.next_frame()">396 ······<button·title="Next·frame"·aria-label="Next·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.last_frame()">398 ······<button·title="Last·frame"·aria-label="Last·frame"·onclick="animd0964743fc1541d6b5f19469eacae764.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="anim3cfa6eaf57d943a297abe656df4f68fc.faster()">400 ······<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="animd0964743fc1541d6b5f19469eacae764.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_select3cfa6eaf57d943a297abe656df4f68fc"403 ····<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_selectd0964743fc1541d6b5f19469eacae764"
404 ··········class="anim-state">404 ··········class="anim-state">
405 ······<input·type="radio"·name="state"·value="once"·id="_anim_radio1_3cfa6eaf57d943a297abe656df4f68fc"405 ······<input·type="radio"·name="state"·value="once"·id="_anim_radio1_d0964743fc1541d6b5f19469eacae764"
406 ·············>406 ·············>
407 ······<label·for="_anim_radio1_3cfa6eaf57d943a297abe656df4f68fc">Once</label>407 ······<label·for="_anim_radio1_d0964743fc1541d6b5f19469eacae764">Once</label>
408 ······<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_3cfa6eaf57d943a297abe656df4f68fc"408 ······<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_d0964743fc1541d6b5f19469eacae764"
409 ·············checked>409 ·············checked>
410 ······<label·for="_anim_radio2_3cfa6eaf57d943a297abe656df4f68fc">Loop</label>410 ······<label·for="_anim_radio2_d0964743fc1541d6b5f19469eacae764">Loop</label>
411 ······<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_3cfa6eaf57d943a297abe656df4f68fc"411 ······<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_d0964743fc1541d6b5f19469eacae764"
412 ·············>412 ·············>
413 ······<label·for="_anim_radio3_3cfa6eaf57d943a297abe656df4f68fc">Reflect</label>413 ······<label·for="_anim_radio3_d0964743fc1541d6b5f19469eacae764">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_img3cfa6eaf57d943a297abe656df4f68fc"; 
422 ····var·slider_id·=·"_anim_slider3cfa6eaf57d943a297abe656df4f68fc"; 
423 ····var·loop_select_id·=·"_anim_loop_select3cfa6eaf57d943a297abe656df4f68fc";421 ····var·img_id·=·"_anim_imgd0964743fc1541d6b5f19469eacae764";
 422 ····var·slider_id·=·"_anim_sliderd0964743fc1541d6b5f19469eacae764";
 423 ····var·loop_select_id·=·"_anim_loop_selectd0964743fc1541d6b5f19469eacae764";
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 ········anim3cfa6eaf57d943a297abe656df4f68fc·=·new·Animation(frames,·img_id,·slider_id,·500.0,2958 ········animd0964743fc1541d6b5f19469eacae764·=·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.311·seconds)</p>2972 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.616·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.311·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.616·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·_\x8r_\x8i_\x8n_\x8g_\x8__\x8a_\x8n_\x8i_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\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_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x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y119 _\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
120 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t120 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
121 ===============================================================================121 ===============================================================================
122 ©·Copyright·2010-2024,·The·igraph·development·team.122 ©·Copyright·2010-2024,·The·igraph·development·team.
3.53 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.114·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.124·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.21 KB
html2text {}
    
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ····edge_label=_\x8g_\x8._\x8e_\x8s["weight"],106 ····edge_label=_\x8g_\x8._\x8e_\x8s["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.114·seconds)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.124·seconds)
114 _\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_\x8h_\x8o_\x8r_\x8t_\x8e_\x8s_\x8t_\x8__\x8p_\x8a_\x8t_\x8h_\x8__\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8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8d_\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._\x8z_\x8i_\x8p116 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\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._\x8z_\x8i_\x8p
117 _\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_\x8y117 _\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
118 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t118 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
119 ===============================================================================119 ===============================================================================
120 ©·Copyright·2010-2024,·The·igraph·development·team.120 ©·Copyright·2010-2024,·The·igraph·development·team.
3.26 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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a>·<span·class="o">=</span>·<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g1</span></a><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><a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a>·<span·class="o">=</span>·<a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g1</span></a><span·class="o">.</span><span·class="n">copy</span><span·class="p">()</span>
151 <a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>151 <a·href="/en/latest/api/igraph.Graph.html"·title="igraph.Graph"·class="sphx-glr-backref-module-igraph·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">g2</span></a><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">0xffffafe8af50</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">0xffff7c8db550</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>
669 B
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 _\x8g_\x82·=·_\x8g_\x81.copy()70 _\x8g_\x82·=·_\x8g_\x81.copy()
71 _\x8g_\x82.simplify()71 _\x8g_\x82.simplify()
72 <igraph.Graph·object·at·0xffffafe8af50>72 <igraph.Graph·object·at·0xffff7c8db550>
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 }
2.89 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.442·seconds)</p>179 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.650·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=_\x8g_\x8._\x8e_\x8s["width"]83 ····edge_width=_\x8g_\x8._\x8e_\x8s["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.442·seconds)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.650·seconds)
91 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_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t_\x8r_\x8e_\x8e_\x8s_\x8._\x8z_\x8i_\x8p93 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8s_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8z_\x8i_\x8p
94 _\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_\x8y94 _\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
95 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t95 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
96 ===============================================================================96 ===============================================================================
97 ©·Copyright·2010-2024,·The·igraph·development·team.97 ©·Copyright·2010-2024,·The·igraph·development·team.
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.118·seconds)</p>189 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.129·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.06 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.118·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\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.129·seconds)
101 _\x8D_\x8o_\x8w_\x8n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x8d_\x8:_\x8·_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8__\x8s_\x8o_\x8r_\x8t_\x8._\x8z_\x8i_\x8p103 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8__\x8s_\x8o_\x8r_\x8t_\x8._\x8z_\x8i_\x8p
104 _\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_\x8y104 _\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
105 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t105 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
106 ===============================================================================106 ===============================================================================
107 ©·Copyright·2010-2024,·The·igraph·development·team.107 ©·Copyright·2010-2024,·The·igraph·development·team.
3.09 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.990·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·2.284·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.990·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.284·seconds)
116 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_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8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8__\x8s_\x8t_\x8y_\x8l_\x8e_\x8._\x8z_\x8i_\x8p
119 _\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_\x8y119 _\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
120 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t120 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
121 ===============================================================================121 ===============================================================================
122 ©·Copyright·2010-2024,·The·igraph·development·team.122 ©·Copyright·2010-2024,·The·igraph·development·team.
3.37 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.791·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·11.982·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.12 KB
html2text {}
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ········palette=_\x8i_\x8g_\x8._\x8R_\x8a_\x8i_\x8n_\x8b_\x8o_\x8w_\x8P_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e(),91 ········palette=_\x8i_\x8g_\x8._\x8R_\x8a_\x8i_\x8n_\x8b_\x8o_\x8w_\x8P_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e(),
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.791·seconds)98 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x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8__\x8c_\x8l_\x8i_\x8q_\x8u_\x8e_\x8s_\x8._\x8p_\x8y
101 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8i_\x8z_\x8e_\x8__\x8c_\x8l_\x8i_\x8q_\x8u_\x8e_\x8s_\x8._\x8z_\x8i_\x8p101 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8z_\x8i_\x8p_\x8p_\x8e_\x8d_\x8:_\x8·_\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8i_\x8z_\x8e_\x8__\x8c_\x8l_\x8i_\x8q_\x8u_\x8e_\x8s_\x8._\x8z_\x8i_\x8p
102 _\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_\x8y102 _\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
103 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t103 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
104 ===============================================================================104 ===============================================================================
105 ©·Copyright·2010-2024,·The·igraph·development·team.105 ©·Copyright·2010-2024,·The·igraph·development·team.
3.39 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.474·seconds)</p>181 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.477·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.25 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_\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_\x8p
99 _\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_\x8y99 _\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
100 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t100 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
101 ===============================================================================101 ===============================================================================
102 ©·Copyright·2010-2024,·The·igraph·development·team.102 ©·Copyright·2010-2024,·The·igraph·development·team.
13.8 KB
./usr/share/doc/python-igraph-doc/igraph.pdf.gz
13.7 KB
igraph.pdf
13.7 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.563·seconds)294 Total·running·time·of·the·script:·(0·minutes·1.096·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.587·seconds)333 Total·running·time·of·the·script:·(0·minutes·0.615·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.174·seconds)381 Total·running·time·of·the·script:·(0·minutes·1.185·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.157·seconds)418 Total·running·time·of·the·script:·(0·minutes·0.148·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.116·seconds)465 Total·running·time·of·the·script:·(0·minutes·0.109·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.374·seconds)510 Total·running·time·of·the·script:·(0·minutes·0.373·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.442·seconds)569 Total·running·time·of·the·script:·(0·minutes·0.650·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.548·seconds)636 Total·running·time·of·the·script:·(0·minutes·0.562·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; 10058/14026 bytes (71.71%) of diff not shown.