147 KB
/srv/reproducible-results/rbuild-debian/r-b-build.J4GrTiaa/b1/python-igraph_0.11.8+ds-1_armhf.changes vs.
/srv/reproducible-results/rbuild-debian/r-b-build.J4GrTiaa/b2/python-igraph_0.11.8+ds-1_armhf.changes
412 B
Files
    
Offset 1, 4 lines modifiedOffset 1, 4 lines modified
  
1 ·764e9bdd576a30fd91245bf9a4d550bf·6066896·doc·optional·python-igraph-doc_0.11.8+ds-1_all.deb1 ·c0b74eacffd0564f945e115d4aeab381·6066848·doc·optional·python-igraph-doc_0.11.8+ds-1_all.deb
2 ·ace5997fdba528d27362e579dc84188a·383092·debug·optional·python3-igraph-dbgsym_0.11.8+ds-1_armhf.deb2 ·ace5997fdba528d27362e579dc84188a·383092·debug·optional·python3-igraph-dbgsym_0.11.8+ds-1_armhf.deb
3 ·20a9065b63c90920b5c5fe61e9670214·309324·python·optional·python3-igraph_0.11.8+ds-1_armhf.deb3 ·20a9065b63c90920b5c5fe61e9670214·309324·python·optional·python3-igraph_0.11.8+ds-1_armhf.deb
146 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····12684·2024-11-10·15:46:20.000000·control.tar.xz2 -rw-r--r--···0········0········0····12676·2024-11-10·15:46:20.000000·control.tar.xz
3 -rw-r--r--···0········0········0··6054020·2024-11-10·15:46:20.000000·data.tar.xz3 -rw-r--r--···0········0········0··6053980·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
146 KB
data.tar.xz
146 KB
data.tar
4.59 KB
file list
    
Offset 461, 15 lines modifiedOffset 461, 15 lines modified
461 -rw-r--r--···0·root·········(0)·root·········(0)····18430·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/faq.html461 -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
462 -rw-r--r--···0·root·········(0)·root·········(0)····31934·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/generation.html462 -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
463 -rw-r--r--···0·root·········(0)·root·········(0)·····4759·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/genindex.html463 -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
464 -rw-r--r--···0·root·········(0)·root·········(0)····10616·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/index.html464 -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
465 -rw-r--r--···0·root·········(0)·root·········(0)····25754·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/install.html465 -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
466 -rw-r--r--···0·root·········(0)·root·········(0)·····1935·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/objects.inv466 -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
467 -rw-r--r--···0·root·········(0)·root·········(0)·····5158·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/search.html467 -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
468 -rw-r--r--···0·root·········(0)·root·········(0)····78472·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/searchindex.js468 -rw-r--r--···0·root·········(0)·root·········(0)····78479·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/searchindex.js
469 -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.html469 -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
470 -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.html470 -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
471 -rw-r--r--···0·root·········(0)·root·········(0)···135840·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorial.html471 -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
472 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/472 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/
473 -rw-r--r--···0·root·········(0)·root·········(0)····14862·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html473 -rw-r--r--···0·root·········(0)·root·········(0)····14862·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html
474 -rw-r--r--···0·root·········(0)·root·········(0)····28047·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html474 -rw-r--r--···0·root·········(0)·root·········(0)····28047·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html
475 -rw-r--r--···0·root·········(0)·root·········(0)····21013·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html475 -rw-r--r--···0·root·········(0)·root·········(0)····21013·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html
Offset 493, 15 lines modifiedOffset 493, 15 lines modified
493 -rw-r--r--···0·root·········(0)·root·········(0)····20275·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html493 -rw-r--r--···0·root·········(0)·root·········(0)····20275·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html
494 -rw-r--r--···0·root·········(0)·root·········(0)····20262·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html494 -rw-r--r--···0·root·········(0)·root·········(0)····20262·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html
495 -rw-r--r--···0·root·········(0)·root·········(0)····21909·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html495 -rw-r--r--···0·root·········(0)·root·········(0)····21909·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html
496 -rw-r--r--···0·root·········(0)·root·········(0)····23992·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html496 -rw-r--r--···0·root·········(0)·root·········(0)····23992·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html
497 -rw-r--r--···0·root·········(0)·root·········(0)····20928·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html497 -rw-r--r--···0·root·········(0)·root·········(0)····20928·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html
498 -rw-r--r--···0·root·········(0)·root·········(0)····20453·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html498 -rw-r--r--···0·root·········(0)·root·········(0)····20453·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html
499 -rw-r--r--···0·root·········(0)·root·········(0)····33649·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/html/visualisation.html499 -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
500 -rw-r--r--···0·root·········(0)·root·········(0)··1893773·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/igraph.pdf.gz500 -rw-r--r--···0·root·········(0)·root·········(0)··1893776·2024-11-10·15:46:20.000000·./usr/share/doc/python-igraph-doc/igraph.pdf.gz
501 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc-base/501 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/doc-base/
502 -rw-r--r--···0·root·········(0)·root·········(0)······362·2024-05-10·15:38:04.000000·./usr/share/doc-base/python-igraph-doc.igraph502 -rw-r--r--···0·root·········(0)·root·········(0)······362·2024-05-10·15:38:04.000000·./usr/share/doc-base/python-igraph-doc.igraph
503 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/503 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/
504 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/overrides/504 drwxr-xr-x···0·root·········(0)·root·········(0)········0·2024-11-10·15:46:20.000000·./usr/share/lintian/overrides/
505 -rw-r--r--···0·root·········(0)·root·········(0)······154·2024-05-10·15:38:04.000000·./usr/share/lintian/overrides/python-igraph-doc505 -rw-r--r--···0·root·········(0)·root·········(0)······154·2024-05-10·15:38:04.000000·./usr/share/lintian/overrides/python-igraph-doc
506 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.css506 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
507 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.css507 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.695·seconds)109 ···**Total·running·time·of·the·script:**·(0·minutes·0.699·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
489 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·11.286·seconds)194 ···**Total·running·time·of·the·script:**·(0·minutes·11.939·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
719 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·0xec0b0fa8>163 ····<igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xab8617e0>
  
  
  
  
164 ..·rst-class::·sphx-glr-timing164 ..·rst-class::·sphx-glr-timing
  
165 ···**Total·running·time·of·the·script:**·(0·minutes·0.680·seconds)165 ···**Total·running·time·of·the·script:**·(0·minutes·0.683·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.842·seconds)177 ···**Total·running·time·of·the·script:**·(0·minutes·0.840·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·2.100·seconds)210 ···**Total·running·time·of·the·script:**·(0·minutes·2.125·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·7.604·seconds)402 ···**Total·running·time·of·the·script:**·(0·minutes·8.160·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·2.793·seconds)174 ···**Total·running·time·of·the·script:**·(0·minutes·2.810·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·6.392·seconds)162 ···**Total·running·time·of·the·script:**·(0·minutes·6.728·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·3.237·seconds)121 ···**Total·running·time·of·the·script:**·(0·minutes·3.311·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
832 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·0xeed5e330>142 ····<igraph.Graph·object·at·0xae439eb0>
  
  
  
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·3.434·seconds)245 ···**Total·running·time·of·the·script:**·(0·minutes·3.423·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·4.676·seconds)187 ···**Total·running·time·of·the·script:**·(0·minutes·4.634·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·2.038·seconds)148 ···**Total·running·time·of·the·script:**·(0·minutes·2.044·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·1.366·seconds)155 ···**Total·running·time·of·the·script:**·(0·minutes·1.364·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.496·seconds)122 ···**Total·running·time·of·the·script:**·(0·minutes·0.495·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·1.836·seconds)142 ···**Total·running·time·of·the·script:**·(0·minutes·1.839·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·1.859·seconds)246 ···**Total·running·time·of·the·script:**·(0·minutes·2.007·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.910·seconds)108 ···**Total·running·time·of·the·script:**·(0·minutes·1.119·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_imgc4cfaa5fbc8145fe80bf5138049c2e2d">345 ·······<img·id="_anim_imgb512bbb5c43d49de90cc83eea0e22119">
346 ·······<div·class="anim-controls">346 ·······<div·class="anim-controls">
347 ·········<input·id="_anim_sliderc4cfaa5fbc8145fe80bf5138049c2e2d"·type="range"·class="anim-slider"347 ·········<input·id="_anim_sliderb512bbb5c43d49de90cc83eea0e22119"·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="animc4cfaa5fbc8145fe80bf5138049c2e2d.set_frame(parseInt(this.value));">349 ················oninput="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.slower()">351 ···········<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.first_frame()">353 ···········<button·title="First·frame"·aria-label="First·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.previous_frame()">355 ···········<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.reverse_animation()">357 ···········<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.pause_animation()">359 ···········<button·title="Pause"·aria-label="Pause"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.play_animation()">361 ···········<button·title="Play"·aria-label="Play"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.next_frame()">363 ···········<button·title="Next·frame"·aria-label="Next·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.last_frame()">365 ···········<button·title="Last·frame"·aria-label="Last·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.faster()">367 ···········<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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_selectc4cfaa5fbc8145fe80bf5138049c2e2d"370 ·········<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_selectb512bbb5c43d49de90cc83eea0e22119"
371 ···············class="anim-state">371 ···············class="anim-state">
372 ···········<input·type="radio"·name="state"·value="once"·id="_anim_radio1_c4cfaa5fbc8145fe80bf5138049c2e2d"372 ···········<input·type="radio"·name="state"·value="once"·id="_anim_radio1_b512bbb5c43d49de90cc83eea0e22119"
373 ··················>373 ··················>
374 ···········<label·for="_anim_radio1_c4cfaa5fbc8145fe80bf5138049c2e2d">Once</label>374 ···········<label·for="_anim_radio1_b512bbb5c43d49de90cc83eea0e22119">Once</label>
375 ···········<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_c4cfaa5fbc8145fe80bf5138049c2e2d"375 ···········<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_b512bbb5c43d49de90cc83eea0e22119"
376 ··················checked>376 ··················checked>
377 ···········<label·for="_anim_radio2_c4cfaa5fbc8145fe80bf5138049c2e2d">Loop</label>377 ···········<label·for="_anim_radio2_b512bbb5c43d49de90cc83eea0e22119">Loop</label>
378 ···········<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_c4cfaa5fbc8145fe80bf5138049c2e2d"378 ···········<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_b512bbb5c43d49de90cc83eea0e22119"
379 ··················>379 ··················>
380 ···········<label·for="_anim_radio3_c4cfaa5fbc8145fe80bf5138049c2e2d">Reflect</label>380 ···········<label·for="_anim_radio3_b512bbb5c43d49de90cc83eea0e22119">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_imgc4cfaa5fbc8145fe80bf5138049c2e2d"; 
389 ·········var·slider_id·=·"_anim_sliderc4cfaa5fbc8145fe80bf5138049c2e2d"; 
390 ·········var·loop_select_id·=·"_anim_loop_selectc4cfaa5fbc8145fe80bf5138049c2e2d";388 ·········var·img_id·=·"_anim_imgb512bbb5c43d49de90cc83eea0e22119";
 389 ·········var·slider_id·=·"_anim_sliderb512bbb5c43d49de90cc83eea0e22119";
 390 ·········var·loop_select_id·=·"_anim_loop_selectb512bbb5c43d49de90cc83eea0e22119";
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 ·····AGAy/weJWDiHdFrdTQAAAABJRU5ErkJggg==\2920 ·····AGAy/weJWDiHdFrdTQAAAABJRU5ErkJggg==\
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 ·············animc4cfaa5fbc8145fe80bf5138049c2e2d·=·new·Animation(frames,·img_id,·slider_id,·500.0,2925 ·············animb512bbb5c43d49de90cc83eea0e22119·=·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·10.927·seconds)2949 ···**Total·running·time·of·the·script:**·(0·minutes·11.284·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.531·seconds)190 ···**Total·running·time·of·the·script:**·(0·minutes·0.544·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
814 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·0xeed32530>90 ····<igraph.Graph·object·at·0xae5a8230>
  
  
  
91 ..·GENERATED·FROM·PYTHON·SOURCE·LINES·38-4091 ..·GENERATED·FROM·PYTHON·SOURCE·LINES·38-40
  
92 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let's92 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let's
93 choose·a·consistent·visual·style:93 choose·a·consistent·visual·style:
Offset 161, 15 lines modifiedOffset 161, 15 lines modified
  
  
  
  
  
161 ..·rst-class::·sphx-glr-timing161 ..·rst-class::·sphx-glr-timing
  
162 ···**Total·running·time·of·the·script:**·(0·minutes·0.847·seconds)162 ···**Total·running·time·of·the·script:**·(0·minutes·0.836·seconds)
  
  
163 ..·_sphx_glr_download_tutorials_simplify.py:163 ..·_sphx_glr_download_tutorials_simplify.py:
  
164 ..·only::·html164 ..·only::·html
  
165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example165 ··..·container::·sphx-glr-footer·sphx-glr-footer-example
636 B
./usr/share/doc/python-igraph-doc/html/_sources/tutorials/spanning_trees.rst.txt
    
Offset 161, 15 lines modifiedOffset 161, 15 lines modified
161 ..·note::161 ..·note::
162 ··To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,162 ··To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,
163 ··you·can·call·`ax.invert_yaxis()`·before·`plt.show()`.163 ··you·can·call·`ax.invert_yaxis()`·before·`plt.show()`.
  
  
164 ..·rst-class::·sphx-glr-timing164 ..·rst-class::·sphx-glr-timing
  
165 ···**Total·running·time·of·the·script:**·(0·minutes·2.353·seconds)165 ···**Total·running·time·of·the·script:**·(0·minutes·2.360·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.542·seconds)180 ···**Total·running·time·of·the·script:**·(0·minutes·0.556·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
492 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·11.334·seconds)213 ···**Total·running·time·of·the·script:**·(0·minutes·10.766·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
507 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·49.727·seconds)156 ···**Total·running·time·of·the·script:**·(0·minutes·48.961·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·2.491·seconds)156 ···**Total·running·time·of·the·script:**·(0·minutes·2.473·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.95 KB
./usr/share/doc/python-igraph-doc/html/searchindex.js
4.85 KB
js-beautify {}
    
Offset 455, 51 lines modifiedOffset 455, 55 lines modified
455 ····"objnames":·{},455 ····"objnames":·{},
456 ····"objtypes":·{},456 ····"objtypes":·{},
457 ····"terms":·{457 ····"terms":·{
458 ········"":·[0,·6,·8,·9,·11,·12,·13,·14,·15,·16,·17,·19,·26,·28,·29,·30,·33,·34,·35],458 ········"":·[0,·6,·8,·9,·11,·12,·13,·14,·15,·16,·17,·19,·26,·28,·29,·30,·33,·34,·35],
459 ········"0":·[0,·3,·4,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·19,·20,·21,·23,·24,·25,·26,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36],459 ········"0":·[0,·3,·4,·7,·8,·9,·10,·11,·12,·13,·14,·15,·16,·17,·18,·19,·20,·21,·23,·24,·25,·26,·27,·28,·29,·30,·31,·32,·33,·34,·35,·36],
460 ········"00":·7,460 ········"00":·7,
461 ········"000":·8,461 ········"000":·8,
 462 ········"007":·26,
462 ········"0088ff":·[8,·9],463 ········"0088ff":·[8,·9],
463 ········"01":·[7,·8,·9],464 ········"01":·[7,·8,·9],
464 ········"013":·7,465 ········"013":·7,
465 ········"02":·[7,·8,·9],466 ········"02":·[7,·8,·9],
466 ········"038":·21,467 ········"044":·21,
467 ········"05":·[8,·9],468 ········"05":·[8,·9],
468 ········"052":·7,469 ········"052":·7,
469 ········"058":·7,470 ········"058":·7,
470 ········"067":·7,471 ········"067":·7,
471 ········"073":·7,472 ········"073":·7,
472 ········"079":·7,473 ········"079":·7,
473 ········"08f":·[8,·9],474 ········"08f":·[8,·9],
474 ········"0xec0b0fa8":·12,475 ········"0xab8617e0":·12,
 476 ········"0xae439eb0":·19,
475 ········"0xeed32530":·30,477 ········"0xae5a8230":·30,
476 ········"0xeed5e330":·19, 
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],478 ········"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],
478 ········"10":·[0,·4,·5,·7,·8,·9,·11,·13,·14,·15,·16,·26,·28],479 ········"10":·[0,·4,·5,·7,·8,·9,·11,·13,·14,·15,·16,·26,·28,·33],
479 ········"100":·[0,·8,·9,·14,·15,·17,·19,·35,·36],480 ········"100":·[0,·8,·9,·15,·17,·19,·35,·36],
480 ········"10000":·9,481 ········"10000":·9,
481 ········"11":·[11,·13,·14,·27,·28,·33],482 ········"11":·[11,·13,·14,·27,·28],
482 ········"111223":·4,483 ········"111223":·4,
483 ········"112222":·4,484 ········"112222":·4,
 485 ········"119":·27,
484 ········"12":·[8,·9,·14,·27,·28],486 ········"12":·[8,·9,·14,·27,·28],
485 ········"1205":·[8,·9],487 ········"1205":·[8,·9],
 488 ········"125":·14,
486 ········"1252":·4,489 ········"1252":·4,
487 ········"126":·[8,·9],490 ········"126":·[8,·9],
488 ········"127":·[8,·9],491 ········"127":·[8,·9],
489 ········"1282":·27,492 ········"1282":·27,
490 ········"13":·14,493 ········"13":·14,
491 ········"136":·25,494 ········"136":·25,
492 ········"137":·7,495 ········"137":·7,
493 ········"14":·[11,·14],496 ········"14":·[11,·14],
494 ········"142":·7,497 ········"142":·7,
495 ········"15":·[8,·9,·15,·17,·18,·20,·21,·23,·33],498 ········"15":·[8,·9,·15,·17,·18,·20,·21,·23,·33],
496 ········"150":·11,499 ········"150":·11,
497 ········"153":·7,500 ········"153":·7,
498 ········"16":·11,501 ········"16":·11,
 502 ········"160":·15,
499 ········"161":·7,503 ········"161":·7,
500 ········"169":·7,504 ········"169":·7,
501 ········"1695":·5,505 ········"1695":·5,
502 ········"176":·7,506 ········"176":·7,
503 ········"18":·[8,·9,·20],507 ········"18":·[8,·9,·20],
504 ········"194":·7,508 ········"194":·7,
505 ········"2":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·16,·19,·20,·21,·23,·24,·26,·27,·28,·29,·30,·31,·32,·33,·35,·36],509 ········"2":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·16,·19,·20,·21,·23,·24,·26,·27,·28,·29,·30,·31,·32,·33,·35,·36],
Offset 511, 93 lines modifiedOffset 515, 90 lines modified
511 ········"2021":·[8,·9],515 ········"2021":·[8,·9],
512 ········"2022":·3,516 ········"2022":·3,
513 ········"21":·20,517 ········"21":·20,
514 ········"216":·7,518 ········"216":·7,
515 ········"22":·[8,·9],519 ········"22":·[8,·9],
516 ········"222":·21,520 ········"222":·21,
517 ········"23":·[8,·9,·20],521 ········"23":·[8,·9,·20],
518 ········"237":·18, 
519 ········"2386714":·9,522 ········"2386714":·9,
520 ········"25":·[7,·8,·9,·23,·32],523 ········"25":·[7,·8,·9,·23,·32],
521 ········"255":·[8,·9,·15,·18,·33],524 ········"255":·[8,·9,·15,·18,·33],
522 ········"270":·[8,·9],525 ········"270":·[8,·9],
523 ········"28":·20,526 ········"28":·20,
524 ········"286":·11,527 ········"284":·28,
525 ········"287":·7,528 ········"287":·7,
526 ········"29":·[8,·9],529 ········"29":·[8,·9],
527 ········"2d":·[8,·9,·19,·28,·31,·36],530 ········"2d":·[8,·9,·19,·28,·31,·36],
528 ········"2r09ej221sk2k5":·26,531 ········"2r09ej221sk2k5":·26,
529 ········"3":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·17,·18,·19,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·36],532 ········"3":·[0,·4,·6,·8,·9,·10,·11,·12,·13,·14,·15,·17,·18,·19,·23,·24,·25,·27,·28,·29,·30,·31,·32,·33,·34,·36],
530 ········"30":·[8,·9,·10,·12,·13,·14,·19,·21,·27,·33],533 ········"30":·[8,·9,·10,·12,·13,·14,·19,·21,·27,·33],
531 ········"300":·[8,·9],534 ········"300":·[8,·9],
532 ········"30745059034535":·11,535 ········"30745059034535":·11,
533 ········"31":·[8,·9],536 ········"31":·[8,·9],
 537 ········"311":·18,
534 ········"313":·7,538 ········"313":·7,
535 ········"3203ejew332323":·26,539 ········"3203ejew332323":·26,
536 ········"320eljl3lk3239":·26,540 ········"320eljl3lk3239":·26,
537 ········"332":·7,541 ········"332":·7,
538 ········"334":·33, 
539 ········"34":·[8,·9],542 ········"34":·[8,·9],
540 ········"35":·20,543 ········"35":·20,
541 ········"353":·31, 
542 ········"36":·31,544 ········"36":·31,
 545 ········"360":·31,
543 ········"366":·23,546 ········"364":·23,
544 ········"376":·[8,·9],547 ········"376":·[8,·9],
545 ········"38":·23,548 ········"38":·23,
546 ········"392":·17, 
547 ········"3d":·[8,·9,·36],549 ········"3d":·[8,·9,·36],
548 ········"4":·[0,·4,·8,·9,·10,·12,·13,·14,·15,·19,·20,·23,·24,·27,·29,·30,·32,·33,·34,·36],550 ········"4":·[0,·4,·8,·9,·10,·12,·13,·14,·15,·19,·20,·23,·24,·27,·29,·30,·32,·33,·34,·36],
549 ········"40m11919332msa":·26,551 ········"40m11919332msa":·26,
550 ········"416":·7,552 ········"416":·7,
551 ········"434":·19,553 ········"423":·19,
552 ········"44":·4,554 ········"44":·4,
553 ········"47":·[8,·9],555 ········"47":·[8,·9],
 556 ········"473":·35,
554 ········"477":·11,557 ········"477":·11,
555 ········"49":·34,558 ········"48":·34,
556 ········"491":·35, 
557 ········"494":·27,559 ········"494":·27,
558 ········"496":·24,560 ········"495":·24,
559 ········"4r4320dkqpdokk":·26,561 ········"4r4320dkqpdokk":·26,
560 ········"5":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·16,·23,·24,·25,·27,·28,·29,·31,·32,·33,·34,·36],562 ········"5":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·16,·23,·24,·25,·27,·28,·29,·31,·32,·33,·34,·36],
561 ········"50":·[8,·9,·11,·18],563 ········"50":·[8,·9,·11,·18],
562 ········"500":·28,564 ········"500":·28,
563 ········"504":·7,565 ········"504":·7,
564 ········"516":·[8,·9],566 ········"516":·[8,·9],
565 ········"517":·6,567 ········"517":·6,
566 ········"531":·29,568 ········"544":·29,
567 ········"542":·32,569 ········"556":·32,
568 ········"6":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·17,·24,·29,·31],570 ········"6":·[0,·8,·9,·10,·11,·12,·13,·14,·15,·17,·24,·29,·31],
569 ········"600":·[8,·9],571 ········"600":·[8,·9],
570 ········"604":·15,572 ········"634":·20,
571 ········"65":·23,573 ········"65":·23,
572 ········"666":·29,574 ········"666":·29,
573 ········"676":·20, 
574 ········"680":·12,575 ········"683":·12,
575 ········"695":·10,576 ········"699":·10,
576 ········"7":·[4,·8,·9,·10,·11,·12,·13,·14,·15,·18,·24,·27,·29],577 ········"7":·[4,·8,·9,·10,·11,·12,·13,·14,·15,·18,·24,·27,·29],
577 ········"711":·7,578 ········"711":·7,
Max diff block lines reached; 789/4935 bytes (15.99%) of diff not shown.
3.68 KB
./usr/share/doc/python-igraph-doc/html/tutorials/articulation_points.html
    
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 ····<span·class="n">vertex_frame_width</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">articulation_points</span>·<span·class="k">else</span>·<span·class="mi">1</span>·<span·class="k">for</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">vs</span><span·class="p">],</span>147 ····<span·class="n">vertex_frame_width</span>·<span·class="o">=</span>·<span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">articulation_points</span>·<span·class="k">else</span>·<span·class="mi">1</span>·<span·class="k">for</span>·<span·class="n">v</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">vs</span><span·class="p">],</span>
148 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.8</span><span·class="p">,</span>148 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.8</span><span·class="p">,</span>
149 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;gray&#39;</span>149 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;gray&#39;</span>
150 <span·class="p">)</span>150 <span·class="p">)</span>
151 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>151 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
152 </pre></div>152 </pre></div>
153 </div>153 </div>
154 <img·src="../_images/sphx_glr_articulation_points_001.png"·srcset="../_images/sphx_glr_articulation_points_001.png"·alt="articulation·points"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.695·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.699·seconds)</p>
155 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-articulation-points-py">155 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-articulation-points-py">
156 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">156 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
157 <p><a·class="reference·download·internal"·download=""·href="../_downloads/242671ca29595146630270920763946e/articulation_points.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">articulation_points.ipynb</span></code></a></p>157 <p><a·class="reference·download·internal"·download=""·href="../_downloads/242671ca29595146630270920763946e/articulation_points.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">articulation_points.ipynb</span></code></a></p>
158 </div>158 </div>
159 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">159 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
160 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7716af8970a6076243a3268ecb8571bb/articulation_points.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">articulation_points.py</span></code></a></p>160 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7716af8970a6076243a3268ecb8571bb/articulation_points.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">articulation_points.py</span></code></a></p>
161 </div>161 </div>
1.12 KB
html2text {}
    
Offset 66, 15 lines modifiedOffset 66, 15 lines modified
66 in·g.vs],66 in·g.vs],
67 ····vertex_frame_width·=·[3·if·v·in·articulation_points·else·1·for·v·in·g.vs],67 ····vertex_frame_width·=·[3·if·v·in·articulation_points·else·1·for·v·in·g.vs],
68 ····edge_width=0.8,68 ····edge_width=0.8,
69 ····edge_color='gray'69 ····edge_color='gray'
70 )70 )
71 plt.show()71 plt.show()
72 [articulation·points]72 [articulation·points]
73 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.695·seconds)73 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.699·seconds)
74 _\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·_\x8a_\x8r_\x8t_\x8i_\x8c_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b74 _\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·_\x8a_\x8r_\x8t_\x8i_\x8c_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
75 _\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·_\x8a_\x8r_\x8t_\x8i_\x8c_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s_\x8._\x8p_\x8y75 _\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·_\x8a_\x8r_\x8t_\x8i_\x8c_\x8u_\x8l_\x8a_\x8t_\x8i_\x8o_\x8n_\x8__\x8p_\x8o_\x8i_\x8n_\x8t_\x8s_\x8._\x8p_\x8y
76 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y76 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
77 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t77 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
78 ===============================================================================78 ===============================================================================
79 ©·Copyright·2010-2024,·The·igraph·development·team.79 ©·Copyright·2010-2024,·The·igraph·development·team.
80 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.80 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.29 KB
./usr/share/doc/python-igraph-doc/html/tutorials/betweenness.html
    
Offset 204, 15 lines modifiedOffset 204, 15 lines modified
204 </div>204 </div>
205 <img·src="../_images/sphx_glr_betweenness_001.png"·srcset="../_images/sphx_glr_betweenness_001.png"·alt="betweenness"·class·=·"sphx-glr-single-img"/><div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">14.0</span>205 <img·src="../_images/sphx_glr_betweenness_001.png"·srcset="../_images/sphx_glr_betweenness_001.png"·alt="betweenness"·class·=·"sphx-glr-single-img"/><div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">14.0</span>
206 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">1.5</span>·<span·class="o">-</span>·<span·class="mf">16.0</span>206 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">1.5</span>·<span·class="o">-</span>·<span·class="mf">16.0</span>
207 <span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">753.8235063912693</span>207 <span·class="n">vertices</span><span·class="p">:</span>·<span·class="mf">0.0</span>·<span·class="o">-</span>·<span·class="mf">753.8235063912693</span>
208 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">8.951984126984126</span>·<span·class="o">-</span>·<span·class="mf">477.30745059034535</span>208 <span·class="n">edges</span><span·class="p">:</span>·<span·class="mf">8.951984126984126</span>·<span·class="o">-</span>·<span·class="mf">477.30745059034535</span>
209 </pre></div>209 </pre></div>
210 </div>210 </div>
211 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·11.286·seconds)</p>211 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·11.939·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.09 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·11.286·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·11.939·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_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_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t136 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
137 ===============================================================================137 ===============================================================================
138 ©·Copyright·2010-2024,·The·igraph·development·team.138 ©·Copyright·2010-2024,·The·igraph·development·team.
139 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.139 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
5.82 KB
./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching.html
    
Offset 176, 18 lines modifiedOffset 176, 18 lines modified
176 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>176 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>
177 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>177 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
178 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="mf">1.0</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">],</span>178 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mi">3</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="mf">1.0</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">],</span>
179 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;red&quot;</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s2">&quot;black&quot;</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">]</span>179 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;red&quot;</span>·<span·class="k">if</span>·<span·class="n">e</span><span·class="o">.</span><span·class="n">target</span>·<span·class="o">==</span>·<span·class="n">matching</span><span·class="o">.</span><span·class="n">match_of</span><span·class="p">(</span><span·class="n">e</span><span·class="o">.</span><span·class="n">source</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s2">&quot;black&quot;</span>·<span·class="k">for</span>·<span·class="n">e</span>·<span·class="ow">in</span>·<span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">]</span>
180 <span·class="p">)</span>180 <span·class="p">)</span>
181 </pre></div>181 </pre></div>
182 </div>182 </div>
183 <img·src="../_images/sphx_glr_bipartite_matching_001.png"·srcset="../_images/sphx_glr_bipartite_matching_001.png"·alt="bipartite·matching"·class·=·"sphx-glr-single-img"/><div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">drawing</span><span·class="o">.</span><span·class="n">matplotlib</span><span·class="o">.</span><span·class="n">graph</span><span·class="o">.</span><span·class="n">GraphArtist</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xec0b0fa8</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">0xab8617e0</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.680·seconds)</p>186 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.683·seconds)</p>
187 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-py">187 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-py">
188 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">188 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
189 <p><a·class="reference·download·internal"·download=""·href="../_downloads/9614fc864a096647cd89cc7ebaeb102a/bipartite_matching.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching.ipynb</span></code></a></p>189 <p><a·class="reference·download·internal"·download=""·href="../_downloads/9614fc864a096647cd89cc7ebaeb102a/bipartite_matching.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching.ipynb</span></code></a></p>
190 </div>190 </div>
191 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">191 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b91a50f4a4f6f4db7b965cf323d29344/bipartite_matching.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching.py</span></code></a></p>192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b91a50f4a4f6f4db7b965cf323d29344/bipartite_matching.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching.py</span></code></a></p>
193 </div>193 </div>
1.32 KB
html2text {}
    
Offset 85, 16 lines modifiedOffset 85, 16 lines modified
85 ····vertex_color="lightblue",85 ····vertex_color="lightblue",
86 ····edge_width=[3·if·e.target·==·matching.match_of(e.source)·else·1.0·for·e·in86 ····edge_width=[3·if·e.target·==·matching.match_of(e.source)·else·1.0·for·e·in
87 g.es],87 g.es],
88 ····edge_color=["red"·if·e.target·==·matching.match_of(e.source)·else·"black"88 ····edge_color=["red"·if·e.target·==·matching.match_of(e.source)·else·"black"
89 for·e·in·g.es]89 for·e·in·g.es]
90 )90 )
91 [bipartite·matching]91 [bipartite·matching]
92 <igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xec0b0fa8>92 <igraph.drawing.matplotlib.graph.GraphArtist·object·at·0xab8617e0>
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.680·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.683·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_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8b_\x8i_\x8p_\x8a_\x8r_\x8t_\x8i_\x8t_\x8e_\x8__\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8p_\x8y95 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8b_\x8i_\x8p_\x8a_\x8r_\x8t_\x8i_\x8t_\x8e_\x8__\x8m_\x8a_\x8t_\x8c_\x8h_\x8i_\x8n_\x8g_\x8._\x8p_\x8y
96 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y96 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
97 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t97 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
98 ===============================================================================98 ===============================================================================
99 ©·Copyright·2010-2024,·The·igraph·development·team.99 ©·Copyright·2010-2024,·The·igraph·development·team.
100 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.100 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
4.42 KB
./usr/share/doc/python-igraph-doc/html/tutorials/bipartite_matching_maxflow.html
    
Offset 188, 15 lines modifiedOffset 188, 15 lines modified
188 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>188 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>
189 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;lightblue&quot;</span>·<span·class="k">if</span>·<span·class="n">i</span>·<span·class="o">&lt;</span>·<span·class="mi">9</span>·<span·class="k">else</span>·<span·class="s2">&quot;orange&quot;</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">11</span><span·class="p">)],</span>189 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="p">[</span><span·class="s2">&quot;lightblue&quot;</span>·<span·class="k">if</span>·<span·class="n">i</span>·<span·class="o">&lt;</span>·<span·class="mi">9</span>·<span·class="k">else</span>·<span·class="s2">&quot;orange&quot;</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="mi">11</span><span·class="p">)],</span>
190 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mf">1.0</span>·<span·class="o">+</span>·<span·class="n">flow</span><span·class="o">.</span><span·class="n">flow</span><span·class="p">[</span><span·class="n">i</span><span·class="p">]</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">ecount</span><span·class="p">())]</span>190 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="p">[</span><span·class="mf">1.0</span>·<span·class="o">+</span>·<span·class="n">flow</span><span·class="o">.</span><span·class="n">flow</span><span·class="p">[</span><span·class="n">i</span><span·class="p">]</span>·<span·class="k">for</span>·<span·class="n">i</span>·<span·class="ow">in</span>·<span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">ecount</span><span·class="p">())]</span>
191 <span·class="p">)</span>191 <span·class="p">)</span>
192 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>192 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
193 </pre></div>193 </pre></div>
194 </div>194 </div>
195 <img·src="../_images/sphx_glr_bipartite_matching_maxflow_001.png"·srcset="../_images/sphx_glr_bipartite_matching_maxflow_001.png"·alt="bipartite·matching·maxflow"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.842·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.840·seconds)</p>
196 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-maxflow-py">196 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bipartite-matching-maxflow-py">
197 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">197 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/80f52b7ca439904ca0fafc31d8c351c8/bipartite_matching_maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching_maxflow.ipynb</span></code></a></p>198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/80f52b7ca439904ca0fafc31d8c351c8/bipartite_matching_maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bipartite_matching_maxflow.ipynb</span></code></a></p>
199 </div>199 </div>
200 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">200 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d56003997f3293e821663aebb5b1e9d0/bipartite_matching_maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching_maxflow.py</span></code></a></p>201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d56003997f3293e821663aebb5b1e9d0/bipartite_matching_maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bipartite_matching_maxflow.py</span></code></a></p>
202 </div>202 </div>
1.23 KB
html2text {}
    
Offset 96, 15 lines modifiedOffset 96, 15 lines modified
96 ····vertex_size=30,96 ····vertex_size=30,
97 ····vertex_label=range(g.vcount()),97 ····vertex_label=range(g.vcount()),
98 ····vertex_color=["lightblue"·if·i·<·9·else·"orange"·for·i·in·range(11)],98 ····vertex_color=["lightblue"·if·i·<·9·else·"orange"·for·i·in·range(11)],
99 ····edge_width=[1.0·+·flow.flow[i]·for·i·in·range(g.ecount())]99 ····edge_width=[1.0·+·flow.flow[i]·for·i·in·range(g.ecount())]
100 )100 )
101 plt.show()101 plt.show()
102 [bipartite·matching·maxflow]102 [bipartite·matching·maxflow]
103 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.842·seconds)103 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.840·seconds)
104 _\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__\x8m_\x8a_\x8x_\x8f_\x8l_\x8o_\x8w_\x8._\x8i_\x8p_\x8y_\x8n_\x8b104 _\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__\x8m_\x8a_\x8x_\x8f_\x8l_\x8o_\x8w_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
105 _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8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
108 ===============================================================================108 ===============================================================================
109 ©·Copyright·2010-2024,·The·igraph·development·team.109 ©·Copyright·2010-2024,·The·igraph·development·team.
110 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.110 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.35 KB
./usr/share/doc/python-igraph-doc/html/tutorials/bridges.html
    
Offset 191, 15 lines modifiedOffset 191, 15 lines modified
191 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>······<span·class="c1">#·make·sure·labels·are·aligned·with·the·edge</span>191 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>······<span·class="c1">#·make·sure·labels·are·aligned·with·the·edge</span>
192 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;label&quot;</span><span·class="p">],</span>192 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;label&quot;</span><span·class="p">],</span>
193 ····<span·class="n">edge_label_color</span><span·class="o">=</span><span·class="s2">&quot;red&quot;</span>193 ····<span·class="n">edge_label_color</span><span·class="o">=</span><span·class="s2">&quot;red&quot;</span>
194 <span·class="p">)</span>194 <span·class="p">)</span>
195 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>195 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
196 </pre></div>196 </pre></div>
197 </div>197 </div>
198 <img·src="../_images/sphx_glr_bridges_002.png"·srcset="../_images/sphx_glr_bridges_002.png"·alt="bridges"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.100·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·2.125·seconds)</p>
199 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bridges-py">199 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-bridges-py">
200 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">200 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/0e3dd42ffedbd9a3484b540044bcfdc6/bridges.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bridges.ipynb</span></code></a></p>201 <p><a·class="reference·download·internal"·download=""·href="../_downloads/0e3dd42ffedbd9a3484b540044bcfdc6/bridges.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">bridges.ipynb</span></code></a></p>
202 </div>202 </div>
203 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">203 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
204 <p><a·class="reference·download·internal"·download=""·href="../_downloads/bae7aba824f72e4b23fc8060976ad889/bridges.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bridges.py</span></code></a></p>204 <p><a·class="reference·download·internal"·download=""·href="../_downloads/bae7aba824f72e4b23fc8060976ad889/bridges.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">bridges.py</span></code></a></p>
205 </div>205 </div>
1.11 KB
html2text {}
    
Offset 101, 15 lines modifiedOffset 101, 15 lines modified
101 ····edge_background="#FFF0",····#·transparent·background·color101 ····edge_background="#FFF0",····#·transparent·background·color
102 ····edge_align_label=True,······#·make·sure·labels·are·aligned·with·the·edge102 ····edge_align_label=True,······#·make·sure·labels·are·aligned·with·the·edge
103 ····edge_label=g.es["label"],103 ····edge_label=g.es["label"],
104 ····edge_label_color="red"104 ····edge_label_color="red"
105 )105 )
106 plt.show()106 plt.show()
107 [bridges]107 [bridges]
108 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.100·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·2.125·seconds)
109 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8b_\x8r_\x8i_\x8d_\x8g_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b109 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x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================================113 ===============================================================================
114 ©·Copyright·2010-2024,·The·igraph·development·team.114 ©·Copyright·2010-2024,·The·igraph·development·team.
115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.45 KB
./usr/share/doc/python-igraph-doc/html/tutorials/cluster_contraction.html
    
Offset 338, 15 lines modifiedOffset 338, 15 lines modified
338 ····<span·class="n">bbox_to_anchor</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mf">1.0</span><span·class="p">),</span>338 ····<span·class="n">bbox_to_anchor</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mf">1.0</span><span·class="p">),</span>
339 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax2</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>339 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax2</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>
340 <span·class="p">)</span>340 <span·class="p">)</span>
  
341 <span·class="n">fig2</span><span·class="o">.</span><span·class="n">set_size_inches</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">,</span>·<span·class="mi">10</span><span·class="p">)</span>341 <span·class="n">fig2</span><span·class="o">.</span><span·class="n">set_size_inches</span><span·class="p">(</span><span·class="mi">10</span><span·class="p">,</span>·<span·class="mi">10</span><span·class="p">)</span>
342 </pre></div>342 </pre></div>
343 </div>343 </div>
344 <img·src="../_images/sphx_glr_cluster_contraction_002.png"·srcset="../_images/sphx_glr_cluster_contraction_002.png"·alt="cluster·contraction"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·7.604·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·8.160·seconds)</p>
345 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-cluster-contraction-py">345 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-cluster-contraction-py">
346 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">346 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
347 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f5753ecc0bf36a46d0f61753dfffd31a/cluster_contraction.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">cluster_contraction.ipynb</span></code></a></p>347 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f5753ecc0bf36a46d0f61753dfffd31a/cluster_contraction.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">cluster_contraction.ipynb</span></code></a></p>
348 </div>348 </div>
349 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">349 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
350 <p><a·class="reference·download·internal"·download=""·href="../_downloads/618e73474ffdd23b6647bbe6721ad6e3/cluster_contraction.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">cluster_contraction.py</span></code></a></p>350 <p><a·class="reference·download·internal"·download=""·href="../_downloads/618e73474ffdd23b6647bbe6721ad6e3/cluster_contraction.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">cluster_contraction.py</span></code></a></p>
351 </div>351 </div>
1.1 KB
html2text {}
    
Offset 237, 15 lines modifiedOffset 237, 15 lines modified
237 ····title='Community:',237 ····title='Community:',
238 ····bbox_to_anchor=(0,·1.0),238 ····bbox_to_anchor=(0,·1.0),
239 ····bbox_transform=ax2.transAxes,239 ····bbox_transform=ax2.transAxes,
240 )240 )
  
241 fig2.set_size_inches(10,·10)241 fig2.set_size_inches(10,·10)
242 [cluster·contraction]242 [cluster·contraction]
243 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·7.604·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·8.160·seconds)
244 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8c_\x8l_\x8u_\x8s_\x8t_\x8e_\x8r_\x8__\x8c_\x8o_\x8n_\x8t_\x8r_\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b244 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x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8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
247 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t247 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
248 ===============================================================================248 ===============================================================================
249 ©·Copyright·2010-2024,·The·igraph·development·team.249 ©·Copyright·2010-2024,·The·igraph·development·team.
250 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.250 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.55 KB
./usr/share/doc/python-igraph-doc/html/tutorials/complement.html
    
Offset 185, 15 lines modifiedOffset 185, 15 lines modified
185 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>185 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>
186 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;black&quot;</span><span·class="p">,</span>186 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;black&quot;</span><span·class="p">,</span>
187 <span·class="p">)</span>187 <span·class="p">)</span>
188 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_title</span><span·class="p">(</span><span·class="s1">&#39;Complement·of·union·graph&#39;</span><span·class="p">)</span>188 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_title</span><span·class="p">(</span><span·class="s1">&#39;Complement·of·union·graph&#39;</span><span·class="p">)</span>
189 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>189 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
190 </pre></div>190 </pre></div>
191 </div>191 </div>
192 <img·src="../_images/sphx_glr_complement_001.png"·srcset="../_images/sphx_glr_complement_001.png"·alt="Original·graph,·Complement·graph,·Union·graph,·Complement·of·union·graph"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.793·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·2.810·seconds)</p>
193 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-complement-py">193 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-complement-py">
194 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">194 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/18a48ac28bf0a7d1df83e5bf8d86cf72/complement.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">complement.ipynb</span></code></a></p>195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/18a48ac28bf0a7d1df83e5bf8d86cf72/complement.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">complement.ipynb</span></code></a></p>
196 </div>196 </div>
197 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">197 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d1f9b5ec5915b527bd3029f0e97e652e/complement.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">complement.py</span></code></a></p>198 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d1f9b5ec5915b527bd3029f0e97e652e/complement.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">complement.py</span></code></a></p>
199 </div>199 </div>
1.11 KB
html2text {}
    
Offset 95, 15 lines modifiedOffset 95, 15 lines modified
95 ····target=axs[1,·1],95 ····target=axs[1,·1],
96 ····layout="circle",96 ····layout="circle",
97 ····vertex_color="black",97 ····vertex_color="black",
98 )98 )
99 axs[1,·1].set_title('Complement·of·union·graph')99 axs[1,·1].set_title('Complement·of·union·graph')
100 plt.show()100 plt.show()
101 [Original·graph,·Complement·graph,·Union·graph,·Complement·of·union·graph]101 [Original·graph,·Complement·graph,·Union·graph,·Complement·of·union·graph]
102 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.793·seconds)102 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.810·seconds)
103 _\x8D_\x8o_\x8w_\x8n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\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
106 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t106 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
107 ===============================================================================107 ===============================================================================
108 ©·Copyright·2010-2024,·The·igraph·development·team.108 ©·Copyright·2010-2024,·The·igraph·development·team.
109 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.109 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.1 KB
./usr/share/doc/python-igraph-doc/html/tutorials/configuration.html
    
Offset 167, 15 lines modifiedOffset 167, 15 lines modified
167 import·igraph·and·then·call·<code·class="docutils·literal·notranslate"><span·class="pre">ig.config.load(&quot;./path/to/config/file&quot;)</span></code></p>167 import·igraph·and·then·call·<code·class="docutils·literal·notranslate"><span·class="pre">ig.config.load(&quot;./path/to/config/file&quot;)</span></code></p>
168 </div>168 </div>
169 <div·class="admonition·note">169 <div·class="admonition·note">
170 <p·class="admonition-title">Note</p>170 <p·class="admonition-title">Note</p>
171 <p>To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,171 <p>To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,
172 colors,·layout·etc.)·check·out·<a·class="reference·internal"·href="visual_style.html#tutorials-visual-style"><span·class="std·std-ref">Visual·styling</span></a>.</p>172 colors,·layout·etc.)·check·out·<a·class="reference·internal"·href="visual_style.html#tutorials-visual-style"><span·class="std·std-ref">Visual·styling</span></a>.</p>
173 </div>173 </div>
174 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·6.392·seconds)</p>174 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·6.728·seconds)</p>
175 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-configuration-py">175 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-configuration-py">
176 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">176 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fd14e762ea0b4a045d94e852f04372f3/configuration.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">configuration.ipynb</span></code></a></p>177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fd14e762ea0b4a045d94e852f04372f3/configuration.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">configuration.ipynb</span></code></a></p>
178 </div>178 </div>
179 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">179 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
180 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a69ba5812cd93160ab9839c2aeb8b3a5/configuration.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">configuration.py</span></code></a></p>180 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a69ba5812cd93160ab9839c2aeb8b3a5/configuration.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">configuration.py</span></code></a></p>
181 </div>181 </div>
1.27 KB
html2text {}
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 Note77 Note
78 You·can·have·multiple·config·files:·specify·each·location·via·ig.config.save78 You·can·have·multiple·config·files:·specify·each·location·via·ig.config.save
79 ("./path/to/config/file").·To·load·a·specific·config,·import·igraph·and·then79 ("./path/to/config/file").·To·load·a·specific·config,·import·igraph·and·then
80 call·ig.config.load("./path/to/config/file")80 call·ig.config.load("./path/to/config/file")
81 Note81 Note
82 To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,·colors,82 To·use·a·consistent·style·between·individual·plots·(e.g.·vertex·sizes,·colors,
83 layout·etc.)·check·out·_\x8V_\x8i_\x8s_\x8u_\x8a_\x8l_\x8·_\x8s_\x8t_\x8y_\x8l_\x8i_\x8n_\x8g.83 layout·etc.)·check·out·_\x8V_\x8i_\x8s_\x8u_\x8a_\x8l_\x8·_\x8s_\x8t_\x8y_\x8l_\x8i_\x8n_\x8g.
84 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·6.392·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·6.728·seconds)
85 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_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x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
89 ===============================================================================89 ===============================================================================
90 ©·Copyright·2010-2024,·The·igraph·development·team.90 ©·Copyright·2010-2024,·The·igraph·development·team.
91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.35 KB
./usr/share/doc/python-igraph-doc/html/tutorials/connected_components.html
    
Offset 153, 15 lines modifiedOffset 153, 15 lines modified
153 </div>153 </div>
154 <img·src="../_images/sphx_glr_connected_components_001.png"·srcset="../_images/sphx_glr_connected_components_001.png"·alt="connected·components"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">154 <img·src="../_images/sphx_glr_connected_components_001.png"·srcset="../_images/sphx_glr_connected_components_001.png"·alt="connected·components"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">
155 <p·class="admonition-title">Note</p>155 <p·class="admonition-title">Note</p>
156 <p>We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex156 <p>We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex
157 colors,·since·255·in·the·<a·class="reference·external"·href="/en/latest/api/igraph.drawing.colors.RainbowPalette.html"·title="(in·igraph·v0.11.8)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">igraph.drawing.colors.RainbowPalette</span></code></a>157 colors,·since·255·in·the·<a·class="reference·external"·href="/en/latest/api/igraph.drawing.colors.RainbowPalette.html"·title="(in·igraph·v0.11.8)"><code·class="xref·py·py-class·docutils·literal·notranslate"><span·class="pre">igraph.drawing.colors.RainbowPalette</span></code></a>
158 corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.</p>158 corresponds·to·looping·back·to·red.·This·gives·us·nicely·distinct·hues.</p>
159 </div>159 </div>
160 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·3.237·seconds)</p>160 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·3.311·seconds)</p>
161 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-connected-components-py">161 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-connected-components-py">
162 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">162 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
163 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a6b592f65e45d4dc0cd800dd966e8a73/connected_components.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">connected_components.ipynb</span></code></a></p>163 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a6b592f65e45d4dc0cd800dd966e8a73/connected_components.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">connected_components.ipynb</span></code></a></p>
164 </div>164 </div>
165 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">165 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
166 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7eae7ff0b0b32c69a5543e6ca66a80ad/connected_components.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">connected_components.py</span></code></a></p>166 <p><a·class="reference·download·internal"·download=""·href="../_downloads/7eae7ff0b0b32c69a5543e6ca66a80ad/connected_components.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">connected_components.py</span></code></a></p>
167 </div>167 </div>
1.28 KB
html2text {}
    
Offset 69, 15 lines modifiedOffset 69, 15 lines modified
69 )69 )
70 plt.show()70 plt.show()
71 [connected·components]71 [connected·components]
72 Note72 Note
73 We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex·colors,73 We·use·the·integers·from·0·to·200·instead·of·0·to·255·in·our·vertex·colors,
74 since·255·in·the·_\x8i_\x8g_\x8r_\x8a_\x8p_\x8h_\x8._\x8d_\x8r_\x8a_\x8w_\x8i_\x8n_\x8g_\x8._\x8c_\x8o_\x8l_\x8o_\x8r_\x8s_\x8._\x8R_\x8a_\x8i_\x8n_\x8b_\x8o_\x8w_\x8P_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e·corresponds·to·looping74 since·255·in·the·_\x8i_\x8g_\x8r_\x8a_\x8p_\x8h_\x8._\x8d_\x8r_\x8a_\x8w_\x8i_\x8n_\x8g_\x8._\x8c_\x8o_\x8l_\x8o_\x8r_\x8s_\x8._\x8R_\x8a_\x8i_\x8n_\x8b_\x8o_\x8w_\x8P_\x8a_\x8l_\x8e_\x8t_\x8t_\x8e·corresponds·to·looping
75 back·to·red.·This·gives·us·nicely·distinct·hues.75 back·to·red.·This·gives·us·nicely·distinct·hues.
76 T\x8To\x8ot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__\x8c_\x8o_\x8m_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8s_\x8._\x8p_\x8y78 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8c_\x8o_\x8n_\x8n_\x8e_\x8c_\x8t_\x8e_\x8d_\x8__\x8c_\x8o_\x8m_\x8p_\x8o_\x8n_\x8e_\x8n_\x8t_\x8s_\x8._\x8p_\x8y
79 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y79 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
81 ===============================================================================81 ===============================================================================
82 ©·Copyright·2010-2024,·The·igraph·development·team.82 ©·Copyright·2010-2024,·The·igraph·development·team.
83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
5.9 KB
./usr/share/doc/python-igraph-doc/html/tutorials/delaunay-triangulation.html
    
Offset 160, 15 lines modifiedOffset 160, 15 lines modified
160 </div>160 </div>
161 <p>Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some161 <p>Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some
162 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those162 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those
163 multiedges,·keeping·each·side·only·once:</p>163 multiedges,·keeping·each·side·only·once:</p>
164 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>164 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>
165 </pre></div>165 </pre></div>
166 </div>166 </div>
167 <div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">Graph</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xeed5e330</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">0xae439eb0</span><span·class="o">&gt;</span>
168 </pre></div>168 </pre></div>
169 </div>169 </div>
170 <p>Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks170 <p>Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks
171 like:</p>171 like:</p>
172 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">fig</span><span·class="p">,</span>·<span·class="n">ax</span>·<span·class="o">=</span>·<span·class="n">plt</span><span·class="o">.</span><span·class="n">subplots</span><span·class="p">()</span>172 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">fig</span><span·class="p">,</span>·<span·class="n">ax</span>·<span·class="o">=</span>·<span·class="n">plt</span><span·class="o">.</span><span·class="n">subplots</span><span·class="p">()</span>
173 <span·class="n">ig</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span>173 <span·class="n">ig</span><span·class="o">.</span><span·class="n">plot</span><span·class="p">(</span>
174 ····<span·class="n">g</span><span·class="p">,</span>174 ····<span·class="n">g</span><span·class="p">,</span>
Offset 212, 15 lines modifiedOffset 212, 15 lines modified
212 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.2</span><span·class="p">,</span>212 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mf">0.2</span><span·class="p">,</span>
213 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>213 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>
214 <span·class="p">)</span>214 <span·class="p">)</span>
215 <span·class="n">ax</span><span·class="o">.</span><span·class="n">set</span><span·class="p">(</span><span·class="n">xlim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">),</span>·<span·class="n">ylim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">))</span>215 <span·class="n">ax</span><span·class="o">.</span><span·class="n">set</span><span·class="p">(</span><span·class="n">xlim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">),</span>·<span·class="n">ylim</span><span·class="o">=</span><span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">))</span>
216 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>216 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
217 </pre></div>217 </pre></div>
218 </div>218 </div>
219 <img·src="../_images/sphx_glr_delaunay-triangulation_002.png"·srcset="../_images/sphx_glr_delaunay-triangulation_002.png"·alt="delaunay·triangulation"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·3.434·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·3.423·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.63 KB
html2text {}
    
Offset 71, 15 lines modifiedOffset 71, 15 lines modified
71 ········(tri[1],·tri[2]),71 ········(tri[1],·tri[2]),
72 ········(tri[0],·tri[2]),72 ········(tri[0],·tri[2]),
73 ····])73 ····])
74 Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some74 Because·adjacent·triangles·share·an·edge/side,·the·graph·now·contains·some
75 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those75 edges·more·than·once.·It’s·useful·to·simplify·the·graph·to·get·rid·of·those
76 multiedges,·keeping·each·side·only·once:76 multiedges,·keeping·each·side·only·once:
77 g.simplify()77 g.simplify()
78 <igraph.Graph·object·at·0xeed5e330>78 <igraph.Graph·object·at·0xae439eb0>
79 Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks79 Finally,·plotting·the·graph·gives·a·good·idea·of·what·the·triangulation·looks
80 like:80 like:
81 fig,·ax·=·plt.subplots()81 fig,·ax·=·plt.subplots()
82 ig.plot(82 ig.plot(
83 ····g,83 ····g,
84 ····layout=layout,84 ····layout=layout,
85 ····target=ax,85 ····target=ax,
Offset 114, 15 lines modifiedOffset 114, 15 lines modified
114 ····vertex_size=0,114 ····vertex_size=0,
115 ····edge_width=0.2,115 ····edge_width=0.2,
116 ····edge_color="white",116 ····edge_color="white",
117 )117 )
118 ax.set(xlim=(0,·1),·ylim=(0,·1))118 ax.set(xlim=(0,·1),·ylim=(0,·1))
119 plt.show()119 plt.show()
120 [delaunay·triangulation]120 [delaunay·triangulation]
121 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·3.434·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·3.423·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_\x8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_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
126 ===============================================================================126 ===============================================================================
127 ©·Copyright·2010-2024,·The·igraph·development·team.127 ©·Copyright·2010-2024,·The·igraph·development·team.
128 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.128 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.33 KB
./usr/share/doc/python-igraph-doc/html/tutorials/erdos_renyi.html
    
Offset 197, 15 lines modifiedOffset 197, 15 lines modified
197 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>197 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
198 ····<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">15</span>198 ····<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">15</span>
199 <span·class="p">)</span>199 <span·class="p">)</span>
200 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">&#39;N.·edges&#39;</span><span·class="p">)</span>200 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">]</span><span·class="o">.</span><span·class="n">set_ylabel</span><span·class="p">(</span><span·class="s1">&#39;N.·edges&#39;</span><span·class="p">)</span>
201 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>201 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
202 </pre></div>202 </pre></div>
203 </div>203 </div>
204 <img·src="../_images/sphx_glr_erdos_renyi_001.png"·srcset="../_images/sphx_glr_erdos_renyi_001.png"·alt="erdos·renyi"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·4.676·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·4.634·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·4.676·seconds)115 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·4.634·seconds)
116 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8e_\x8r_\x8d_\x8o_\x8s_\x8__\x8r_\x8e_\x8n_\x8y_\x8i_\x8._\x8i_\x8p_\x8y_\x8n_\x8b116 _\x8D_\x8o_\x8w_\x8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\x8s·_\x8N_\x8e_\x8x_\x8t119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
120 ===============================================================================120 ===============================================================================
121 ©·Copyright·2010-2024,·The·igraph·development·team.121 ©·Copyright·2010-2024,·The·igraph·development·team.
122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.18 KB
./usr/share/doc/python-igraph-doc/html/tutorials/generate_dag.html
    
Offset 155, 15 lines modifiedOffset 155, 15 lines modified
155 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;grey&quot;</span><span·class="p">,</span>155 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;grey&quot;</span><span·class="p">,</span>
156 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;#222&quot;</span><span·class="p">,</span>156 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s2">&quot;#222&quot;</span><span·class="p">,</span>
157 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>157 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="mi">1</span><span·class="p">,</span>
158 <span·class="p">)</span>158 <span·class="p">)</span>
159 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>159 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
160 </pre></div>160 </pre></div>
161 </div>161 </div>
162 <img·src="../_images/sphx_glr_generate_dag_001.png"·srcset="../_images/sphx_glr_generate_dag_001.png"·alt="generate·dag"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.038·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·2.044·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·2.038·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·2.044·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_\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_\x8b
78 _\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·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8d_\x8a_\x8g_\x8._\x8p_\x8y78 _\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·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8__\x8d_\x8a_\x8g_\x8._\x8p_\x8y
79 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y79 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t80 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
81 ===============================================================================81 ===============================================================================
82 ©·Copyright·2010-2024,·The·igraph·development·team.82 ©·Copyright·2010-2024,·The·igraph·development·team.
83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.83 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
5.09 KB
./usr/share/doc/python-igraph-doc/html/tutorials/isomorphism.html
    
Offset 189, 15 lines modifiedOffset 189, 15 lines modified
189 ····<span·class="o">**</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a><span·class="p">,</span>189 ····<span·class="o">**</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a><span·class="p">,</span>
190 <span·class="p">)</span>190 <span·class="p">)</span>
191 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.38</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g2</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>191 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.38</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g2</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>
192 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.65</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g2</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g3</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>192 <span·class="n">fig</span><span·class="o">.</span><span·class="n">text</span><span·class="p">(</span><span·class="mf">0.65</span><span·class="p">,</span>·<span·class="mf">0.5</span><span·class="p">,</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">simeq$&#39;</span>·<span·class="k">if</span>·<span·class="n">g2</span><span·class="o">.</span><span·class="n">isomorphic</span><span·class="p">(</span><span·class="n">g3</span><span·class="p">)</span>·<span·class="k">else</span>·<span·class="s1">&#39;$</span><span·class="se">\\</span><span·class="s1">neq$&#39;</span><span·class="p">,</span>·<span·class="n">fontsize</span><span·class="o">=</span><span·class="mi">15</span><span·class="p">,</span>·<span·class="n">ha</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">,</span>·<span·class="n">va</span><span·class="o">=</span><span·class="s1">&#39;center&#39;</span><span·class="p">)</span>
193 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>193 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
194 </pre></div>194 </pre></div>
195 </div>195 </div>
196 <img·src="../_images/sphx_glr_isomorphism_001.png"·srcset="../_images/sphx_glr_isomorphism_001.png"·alt="isomorphism"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.366·seconds)</p>196 <img·src="../_images/sphx_glr_isomorphism_001.png"·srcset="../_images/sphx_glr_isomorphism_001.png"·alt="isomorphism"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.364·seconds)</p>
197 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-isomorphism-py">197 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-isomorphism-py">
198 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">198 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/27a7c4b3d11014ddb5b8b2a44e30e734/isomorphism.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">isomorphism.ipynb</span></code></a></p>199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/27a7c4b3d11014ddb5b8b2a44e30e734/isomorphism.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">isomorphism.ipynb</span></code></a></p>
200 </div>200 </div>
201 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">201 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
202 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75f065515779d42d798e6f42e458354a/isomorphism.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">isomorphism.py</span></code></a></p>202 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75f065515779d42d798e6f42e458354a/isomorphism.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">isomorphism.py</span></code></a></p>
203 </div>203 </div>
1.16 KB
html2text {}
    
Offset 103, 15 lines modifiedOffset 103, 15 lines modified
103 )103 )
104 fig.text(0.38,·0.5,·'$\\simeq$'·if·g1.isomorphic(g2)·else·'$\\neq$',104 fig.text(0.38,·0.5,·'$\\simeq$'·if·g1.isomorphic(g2)·else·'$\\neq$',
105 fontsize=15,·ha='center',·va='center')105 fontsize=15,·ha='center',·va='center')
106 fig.text(0.65,·0.5,·'$\\simeq$'·if·g2.isomorphic(g3)·else·'$\\neq$',106 fig.text(0.65,·0.5,·'$\\simeq$'·if·g2.isomorphic(g3)·else·'$\\neq$',
107 fontsize=15,·ha='center',·va='center')107 fontsize=15,·ha='center',·va='center')
108 plt.show()108 pl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_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8i_\x8s_\x8o_\x8m_\x8o_\x8r_\x8p_\x8h_\x8i_\x8s_\x8m_\x8._\x8p_\x8y
113 _\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_\x8y113 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
114 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t114 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
115 ===============================================================================115 ===============================================================================
116 ©·Copyright·2010-2024,·The·igraph·development·team.116 ©·Copyright·2010-2024,·The·igraph·development·team.
117 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.117 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.19 KB
./usr/share/doc/python-igraph-doc/html/tutorials/maxflow.html
    
Offset 157, 15 lines modifiedOffset 157, 15 lines modified
157 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>157 ····<span·class="n">layout</span><span·class="o">=</span><span·class="s2">&quot;circle&quot;</span><span·class="p">,</span>
158 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>158 ····<span·class="n">vertex_label</span><span·class="o">=</span><span·class="nb">range</span><span·class="p">(</span><span·class="n">g</span><span·class="o">.</span><span·class="n">vcount</span><span·class="p">()),</span>
159 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span>159 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span>
160 <span·class="p">)</span>160 <span·class="p">)</span>
161 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>161 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
162 </pre></div>162 </pre></div>
163 </div>163 </div>
164 <img·src="../_images/sphx_glr_maxflow_001.png"·srcset="../_images/sphx_glr_maxflow_001.png"·alt="maxflow"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.496·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.495·seconds)</p>
165 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-maxflow-py">165 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-maxflow-py">
166 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">166 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
167 <p><a·class="reference·download·internal"·download=""·href="../_downloads/ec967e96145be835811b34f369ceb4c2/maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">maxflow.ipynb</span></code></a></p>167 <p><a·class="reference·download·internal"·download=""·href="../_downloads/ec967e96145be835811b34f369ceb4c2/maxflow.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">maxflow.ipynb</span></code></a></p>
168 </div>168 </div>
169 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">169 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
170 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fb1ace091b479d9370bc8348d34bb5e6/maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">maxflow.py</span></code></a></p>170 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fb1ace091b479d9370bc8348d34bb5e6/maxflow.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">maxflow.py</span></code></a></p>
171 </div>171 </div>
1.01 KB
html2text {}
    
Offset 72, 15 lines modifiedOffset 72, 15 lines modified
72 ····target=ax,72 ····target=ax,
73 ····layout="circle",73 ····layout="circle",
74 ····vertex_label=range(g.vcount()),74 ····vertex_label=range(g.vcount()),
75 ····vertex_color="lightblue"75 ····vertex_color="lightblue"
76 )76 )
77 plt.show()77 plt.show()
78 [maxflow]78 [maxflow]
79 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·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o_\x8w_\x8._\x8p_\x8y
82 _\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_\x8y82 _\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
83 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t83 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
84 ===============================================================================84 ===============================================================================
85 ©·Copyright·2010-2024,·The·igraph·development·team.85 ©·Copyright·2010-2024,·The·igraph·development·team.
86 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.86 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.63 KB
./usr/share/doc/python-igraph-doc/html/tutorials/minimum_spanning_trees.html
    
Offset 164, 15 lines modifiedOffset 164, 15 lines modified
164 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;width&quot;</span><span·class="p">],</span>164 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;width&quot;</span><span·class="p">],</span>
165 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>165 ····<span·class="n">edge_label</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>
166 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>166 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s2">&quot;white&quot;</span><span·class="p">,</span>
167 <span·class="p">)</span>167 <span·class="p">)</span>
168 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>168 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
169 </pre></div>169 </pre></div>
170 </div>170 </div>
171 <img·src="../_images/sphx_glr_minimum_spanning_trees_001.png"·srcset="../_images/sphx_glr_minimum_spanning_trees_001.png"·alt="minimum·spanning·trees"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.836·seconds)</p>171 <img·src="../_images/sphx_glr_minimum_spanning_trees_001.png"·srcset="../_images/sphx_glr_minimum_spanning_trees_001.png"·alt="minimum·spanning·trees"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.839·seconds)</p>
172 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-minimum-spanning-trees-py">172 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-minimum-spanning-trees-py">
173 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">173 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
174 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d8d9437e575458785bbd8b9f92ad90ed/minimum_spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">minimum_spanning_trees.ipynb</span></code></a></p>174 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d8d9437e575458785bbd8b9f92ad90ed/minimum_spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">minimum_spanning_trees.ipynb</span></code></a></p>
175 </div>175 </div>
176 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">176 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/20634a79e0149b921e8021ba1a9bf22c/minimum_spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">minimum_spanning_trees.py</span></code></a></p>177 <p><a·class="reference·download·internal"·download=""·href="../_downloads/20634a79e0149b921e8021ba1a9bf22c/minimum_spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">minimum_spanning_trees.py</span></code></a></p>
178 </div>178 </div>
1.13 KB
html2text {}
    
Offset 77, 15 lines modifiedOffset 77, 15 lines modified
77 ····vertex_color="lightblue",77 ····vertex_color="lightblue",
78 ····edge_width=g.es["width"],78 ····edge_width=g.es["width"],
79 ····edge_label=g.es["weight"],79 ····edge_label=g.es["weight"],
80 ····edge_background="white",80 ····edge_background="white",
81 )81 )
82 plt.show()82 plt.show()
83 [minimum·spanning·trees]83 [minim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i_\x8n_\x8i_\x8m_\x8u_\x8m_\x8__\x8s_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8p_\x8y86 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8m_\x8i_\x8n_\x8i_\x8m_\x8u_\x8m_\x8__\x8s_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8p_\x8y
87 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y87 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t88 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
89 ===============================================================================89 ===============================================================================
90 ©·Copyright·2010-2024,·The·igraph·development·team.90 ©·Copyright·2010-2024,·The·igraph·development·team.
91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.91 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.9 KB
./usr/share/doc/python-igraph-doc/html/tutorials/online_user_actions.html
    
Offset 213, 15 lines modifiedOffset 213, 15 lines modified
213 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>213 ····<span·class="n">vertex_color</span><span·class="o">=</span><span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
214 ····<a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="o">=</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="p">,</span>214 ····<a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="o">=</span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#list"·title="builtins.list"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">vertex_size</span></a><span·class="p">,</span>
215 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>215 ····<span·class="n">edge_width</span><span·class="o">=</span><span·class="n">g</span><span·class="o">.</span><span·class="n">es</span><span·class="p">[</span><span·class="s2">&quot;weight&quot;</span><span·class="p">],</span>
216 <span·class="p">)</span>216 <span·class="p">)</span>
217 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>217 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
218 </pre></div>218 </pre></div>
219 </div>219 </div>
220 <img·src="../_images/sphx_glr_online_user_actions_002.png"·srcset="../_images/sphx_glr_online_user_actions_002.png"·alt="online·user·actions"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.859·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·2.007·seconds)</p>
221 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-online-user-actions-py">221 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-online-user-actions-py">
222 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">222 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
223 <p><a·class="reference·download·internal"·download=""·href="../_downloads/937b9a86f4f37eae9f32f34396051b1f/online_user_actions.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">online_user_actions.ipynb</span></code></a></p>223 <p><a·class="reference·download·internal"·download=""·href="../_downloads/937b9a86f4f37eae9f32f34396051b1f/online_user_actions.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">online_user_actions.ipynb</span></code></a></p>
224 </div>224 </div>
225 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">225 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
226 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d26d373ee3cda71ff9571e6ac3291311/online_user_actions.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">online_user_actions.py</span></code></a></p>226 <p><a·class="reference·download·internal"·download=""·href="../_downloads/d26d373ee3cda71ff9571e6ac3291311/online_user_actions.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">online_user_actions.py</span></code></a></p>
227 </div>227 </div>
1.16 KB
html2text {}
    
Offset 124, 15 lines modifiedOffset 124, 15 lines modified
124 ····vertex_label=g.vs['name'],124 ····vertex_label=g.vs['name'],
125 ····vertex_color="lightblue",125 ····vertex_color="lightblue",
126 ····_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e=_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e,126 ····_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e=_\x8v_\x8e_\x8r_\x8t_\x8e_\x8x_\x8__\x8s_\x8i_\x8z_\x8e,
127 ····edge_width=g.es["weight"],127 ····edge_width=g.es["weight"],
128 )128 )
129 plt.show()129 plt.show()
130 [online·user·actions]130 [online·user·actions]
131 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·1.859·seconds)131 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti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_\x8i_\x8n_\x8e_\x8__\x8u_\x8s_\x8e_\x8r_\x8__\x8a_\x8c_\x8t_\x8i_\x8o_\x8n_\x8s_\x8._\x8p_\x8y
134 _\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_\x8y134 _\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
135 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t135 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
136 ===============================================================================136 ===============================================================================
137 ©·Copyright·2010-2024,·The·igraph·development·team.137 ©·Copyright·2010-2024,·The·igraph·development·team.
138 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.138 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.12 KB
./usr/share/doc/python-igraph-doc/html/tutorials/quickstart.html
    
Offset 179, 15 lines modifiedOffset 179, 15 lines modified
179 <span·class="n">fig</span><span·class="o">.</span><span·class="n">savefig</span><span·class="p">(</span><span·class="s1">&#39;social_network.pdf&#39;</span><span·class="p">)</span>179 <span·class="n">fig</span><span·class="o">.</span><span·class="n">savefig</span><span·class="p">(</span><span·class="s1">&#39;social_network.pdf&#39;</span><span·class="p">)</span>
  
180 <span·class="c1">#·Export·and·import·a·graph·as·a·GML·file.</span>180 <span·class="c1">#·Export·and·import·a·graph·as·a·GML·file.</span>
181 <span·class="n">g</span><span·class="o">.</span><span·class="n">save</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>181 <span·class="n">g</span><span·class="o">.</span><span·class="n">save</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>
182 <span·class="n">g</span>·<span·class="o">=</span>·<span·class="n">ig</span><span·class="o">.</span><span·class="n">load</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>182 <span·class="n">g</span>·<span·class="o">=</span>·<span·class="n">ig</span><span·class="o">.</span><span·class="n">load</span><span·class="p">(</span><span·class="s2">&quot;social_network.gml&quot;</span><span·class="p">)</span>
183 </pre></div>183 </pre></div>
184 </div>184 </div>
185 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.910·seconds)</p>185 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·1.119·seconds)</p>
186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-quickstart-py">186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-quickstart-py">
187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/672969cb8d7b3403ac7a48137cd865ba/quickstart.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">quickstart.ipynb</span></code></a></p>188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/672969cb8d7b3403ac7a48137cd865ba/quickstart.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">quickstart.ipynb</span></code></a></p>
189 </div>189 </div>
190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a526f4c21167c30e565f6eef2922968a/quickstart.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">quickstart.py</span></code></a></p>191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a526f4c21167c30e565f6eef2922968a/quickstart.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">quickstart.py</span></code></a></p>
192 </div>192 </div>
1.12 KB
html2text {}
    
Offset 102, 15 lines modifiedOffset 102, 15 lines modified
102 fig.savefig('social_network.png')102 fig.savefig('social_network.png')
103 fig.savefig('social_network.jpg')103 fig.savefig('social_network.jpg')
104 fig.savefig('social_network.pdf')104 fig.savefig('social_network.pdf')
  
105 #·Export·and·import·a·graph·as·a·GML·file.105 #·Export·and·import·a·graph·as·a·GML·file.
106 g.save("social_network.gml")106 g.save("social_network.gml")
107 g·=·ig.load("social_network.gml")107 g·=·ig.load("social_network.gml")
108 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.910·seconds)108 T\x8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x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y111 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
112 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t112 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
113 ===============================================================================113 ===============================================================================
114 ©·Copyright·2010-2024,·The·igraph·development·team.114 ©·Copyright·2010-2024,·The·igraph·development·team.
115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.115 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
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_imgc4cfaa5fbc8145fe80bf5138049c2e2d">378 ··<img·id="_anim_imgb512bbb5c43d49de90cc83eea0e22119">
379 ··<div·class="anim-controls">379 ··<div·class="anim-controls">
380 ····<input·id="_anim_sliderc4cfaa5fbc8145fe80bf5138049c2e2d"·type="range"·class="anim-slider"380 ····<input·id="_anim_sliderb512bbb5c43d49de90cc83eea0e22119"·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="animc4cfaa5fbc8145fe80bf5138049c2e2d.set_frame(parseInt(this.value));">382 ···········oninput="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.slower()">384 ······<button·title="Decrease·speed"·aria-label="Decrease·speed"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.first_frame()">386 ······<button·title="First·frame"·aria-label="First·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.previous_frame()">388 ······<button·title="Previous·frame"·aria-label="Previous·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.reverse_animation()">390 ······<button·title="Play·backwards"·aria-label="Play·backwards"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.pause_animation()">392 ······<button·title="Pause"·aria-label="Pause"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.play_animation()">394 ······<button·title="Play"·aria-label="Play"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.next_frame()">396 ······<button·title="Next·frame"·aria-label="Next·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.last_frame()">398 ······<button·title="Last·frame"·aria-label="Last·frame"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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="animc4cfaa5fbc8145fe80bf5138049c2e2d.faster()">400 ······<button·title="Increase·speed"·aria-label="Increase·speed"·onclick="animb512bbb5c43d49de90cc83eea0e22119.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_selectc4cfaa5fbc8145fe80bf5138049c2e2d"403 ····<form·title="Repetition·mode"·aria-label="Repetition·mode"·action="#n"·name="_anim_loop_selectb512bbb5c43d49de90cc83eea0e22119"
404 ··········class="anim-state">404 ··········class="anim-state">
405 ······<input·type="radio"·name="state"·value="once"·id="_anim_radio1_c4cfaa5fbc8145fe80bf5138049c2e2d"405 ······<input·type="radio"·name="state"·value="once"·id="_anim_radio1_b512bbb5c43d49de90cc83eea0e22119"
406 ·············>406 ·············>
407 ······<label·for="_anim_radio1_c4cfaa5fbc8145fe80bf5138049c2e2d">Once</label>407 ······<label·for="_anim_radio1_b512bbb5c43d49de90cc83eea0e22119">Once</label>
408 ······<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_c4cfaa5fbc8145fe80bf5138049c2e2d"408 ······<input·type="radio"·name="state"·value="loop"·id="_anim_radio2_b512bbb5c43d49de90cc83eea0e22119"
409 ·············checked>409 ·············checked>
410 ······<label·for="_anim_radio2_c4cfaa5fbc8145fe80bf5138049c2e2d">Loop</label>410 ······<label·for="_anim_radio2_b512bbb5c43d49de90cc83eea0e22119">Loop</label>
411 ······<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_c4cfaa5fbc8145fe80bf5138049c2e2d"411 ······<input·type="radio"·name="state"·value="reflect"·id="_anim_radio3_b512bbb5c43d49de90cc83eea0e22119"
412 ·············>412 ·············>
413 ······<label·for="_anim_radio3_c4cfaa5fbc8145fe80bf5138049c2e2d">Reflect</label>413 ······<label·for="_anim_radio3_b512bbb5c43d49de90cc83eea0e22119">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_imgc4cfaa5fbc8145fe80bf5138049c2e2d"; 
422 ····var·slider_id·=·"_anim_sliderc4cfaa5fbc8145fe80bf5138049c2e2d"; 
423 ····var·loop_select_id·=·"_anim_loop_selectc4cfaa5fbc8145fe80bf5138049c2e2d";421 ····var·img_id·=·"_anim_imgb512bbb5c43d49de90cc83eea0e22119";
 422 ····var·slider_id·=·"_anim_sliderb512bbb5c43d49de90cc83eea0e22119";
 423 ····var·loop_select_id·=·"_anim_loop_selectb512bbb5c43d49de90cc83eea0e22119";
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 AGAy/weJWDiHdFrdTQAAAABJRU5ErkJggg==\2953 AGAy/weJWDiHdFrdTQAAAABJRU5ErkJggg==\
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 ········animc4cfaa5fbc8145fe80bf5138049c2e2d·=·new·Animation(frames,·img_id,·slider_id,·500.0,2958 ········animb512bbb5c43d49de90cc83eea0e22119·=·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·10.927·seconds)</p>2972 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·11.284·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·10.927·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·11.284·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_\x8o_\x8k_\x8:_\x8·_\x8r_\x8i_\x8n_\x8g_\x8__\x8a_\x8n_\x8i_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
117 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8r_\x8i_\x8n_\x8g_\x8__\x8a_\x8n_\x8i_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y117 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8r_\x8i_\x8n_\x8g_\x8__\x8a_\x8n_\x8i_\x8m_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8p_\x8y
118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
120 ===============================================================================120 ===============================================================================
121 ©·Copyright·2010-2024,·The·igraph·development·team.121 ©·Copyright·2010-2024,·The·igraph·development·team.
122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.49 KB
./usr/share/doc/python-igraph-doc/html/tutorials/shortest_path_visualisation.html
    
Offset 196, 15 lines modifiedOffset 196, 15 lines modified
196 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;#666&#39;</span><span·class="p">,</span>196 ····<span·class="n">edge_color</span><span·class="o">=</span><span·class="s1">&#39;#666&#39;</span><span·class="p">,</span>
197 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>197 ····<span·class="n">edge_align_label</span><span·class="o">=</span><span·class="kc">True</span><span·class="p">,</span>
198 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s1">&#39;white&#39;</span>198 ····<span·class="n">edge_background</span><span·class="o">=</span><span·class="s1">&#39;white&#39;</span>
199 <span·class="p">)</span>199 <span·class="p">)</span>
200 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>200 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
201 </pre></div>201 </pre></div>
202 </div>202 </div>
203 <img·src="../_images/sphx_glr_shortest_path_visualisation_001.png"·srcset="../_images/sphx_glr_shortest_path_visualisation_001.png"·alt="shortest·path·visualisation"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.531·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.544·seconds)</p>
204 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-shortest-path-visualisation-py">204 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-shortest-path-visualisation-py">
205 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">205 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
206 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fc60c4dc9531cdc1484f5e3ce96ab8fc/shortest_path_visualisation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">shortest_path_visualisation.ipynb</span></code></a></p>206 <p><a·class="reference·download·internal"·download=""·href="../_downloads/fc60c4dc9531cdc1484f5e3ce96ab8fc/shortest_path_visualisation.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">shortest_path_visualisation.ipynb</span></code></a></p>
207 </div>207 </div>
208 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">208 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
209 <p><a·class="reference·download·internal"·download=""·href="../_downloads/79e1b300289994ce5ae78e692fa16ddb/shortest_path_visualisation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">shortest_path_visualisation.py</span></code></a></p>209 <p><a·class="reference·download·internal"·download=""·href="../_downloads/79e1b300289994ce5ae78e692fa16ddb/shortest_path_visualisation.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">shortest_path_visualisation.py</span></code></a></p>
210 </div>210 </div>
1.16 KB
html2text {}
    
Offset 106, 15 lines modifiedOffset 106, 15 lines modified
106 ····edge_label=g.es["weight"],106 ····edge_label=g.es["weight"],
107 ····edge_color='#666',107 ····edge_color='#666',
108 ····edge_align_label=True,108 ····edge_align_label=True,
109 ····edge_background='white'109 ····edge_background='white'
110 )110 )
111 plt.show()111 plt.show()
112 [shortest·path·visualisation]112 [shortest·path·visualisation]
113 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.531·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.544·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_\x8i_\x8s_\x8a_\x8t_\x8i_\x8o_\x8n_\x8._\x8i_\x8p_\x8y_\x8n_\x8b114 _\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_\x8i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8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t117 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
118 ===============================================================================118 ===============================================================================
119 ©·Copyright·2010-2024,·The·igraph·development·team.119 ©·Copyright·2010-2024,·The·igraph·development·team.
120 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.120 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
6.59 KB
./usr/share/doc/python-igraph-doc/html/tutorials/simplify.html
    
Offset 147, 15 lines modifiedOffset 147, 15 lines modified
147 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a147 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a
148 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph148 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph
149 untouched:</p>149 untouched:</p>
150 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g2</span>·<span·class="o">=</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">copy</span><span·class="p">()</span>150 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="n">g2</span>·<span·class="o">=</span>·<span·class="n">g1</span><span·class="o">.</span><span·class="n">copy</span><span·class="p">()</span>
151 <span·class="n">g2</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>151 <span·class="n">g2</span><span·class="o">.</span><span·class="n">simplify</span><span·class="p">()</span>
152 </pre></div>152 </pre></div>
153 </div>153 </div>
154 <div·class="sphx-glr-script-out·doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><span·class="o">&lt;</span><span·class="n">igraph</span><span·class="o">.</span><span·class="n">Graph</span>·<span·class="nb">object</span>·<span·class="n">at</span>·<span·class="mh">0xeed32530</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">0xae5a8230</span><span·class="o">&gt;</span>
155 </pre></div>155 </pre></div>
156 </div>156 </div>
157 <p>We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s157 <p>We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s
158 choose·a·consistent·visual·style:</p>158 choose·a·consistent·visual·style:</p>
159 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a>·<span·class="o">=</span>·<span·class="p">{</span>159 <div·class="doctest·highlight-default·notranslate"><div·class="highlight"><pre><span></span><a·href="file:///usr/share/doc/python3-doc/html/library/stdtypes.html#dict"·title="builtins.dict"·class="sphx-glr-backref-module-builtins·sphx-glr-backref-type-py-class·sphx-glr-backref-instance"><span·class="n">visual_style</span></a>·<span·class="o">=</span>·<span·class="p">{</span>
160 ····<span·class="s2">&quot;vertex_color&quot;</span><span·class="p">:</span>·<span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>160 ····<span·class="s2">&quot;vertex_color&quot;</span><span·class="p">:</span>·<span·class="s2">&quot;lightblue&quot;</span><span·class="p">,</span>
161 ····<span·class="s2">&quot;vertex_size&quot;</span><span·class="p">:</span>·<span·class="mi">20</span><span·class="p">,</span>161 ····<span·class="s2">&quot;vertex_size&quot;</span><span·class="p">:</span>·<span·class="mi">20</span><span·class="p">,</span>
Offset 186, 15 lines modifiedOffset 186, 15 lines modified
186 ····<span·class="p">))</span>186 ····<span·class="p">))</span>
187 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">add_patch</span><span·class="p">(</span><span·class="n">plt</span><span·class="o">.</span><span·class="n">Rectangle</span><span·class="p">(</span>187 <span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">add_patch</span><span·class="p">(</span><span·class="n">plt</span><span·class="o">.</span><span·class="n">Rectangle</span><span·class="p">(</span>
188 ····<span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">),</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="n">fc</span><span·class="o">=</span><span·class="s1">&#39;none&#39;</span><span·class="p">,</span>·<span·class="n">ec</span><span·class="o">=</span><span·class="s1">&#39;k&#39;</span><span·class="p">,</span>·<span·class="n">lw</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">transform</span><span·class="o">=</span><span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>188 ····<span·class="p">(</span><span·class="mi">0</span><span·class="p">,</span>·<span·class="mi">0</span><span·class="p">),</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="mi">1</span><span·class="p">,</span>·<span·class="n">fc</span><span·class="o">=</span><span·class="s1">&#39;none&#39;</span><span·class="p">,</span>·<span·class="n">ec</span><span·class="o">=</span><span·class="s1">&#39;k&#39;</span><span·class="p">,</span>·<span·class="n">lw</span><span·class="o">=</span><span·class="mi">4</span><span·class="p">,</span>·<span·class="n">transform</span><span·class="o">=</span><span·class="n">axs</span><span·class="p">[</span><span·class="mi">1</span><span·class="p">]</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>
189 ····<span·class="p">))</span>189 ····<span·class="p">))</span>
190 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>190 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
191 </pre></div>191 </pre></div>
192 </div>192 </div>
193 <img·src="../_images/sphx_glr_simplify_001.png"·srcset="../_images/sphx_glr_simplify_001.png"·alt="Multigraph...,·...simplified"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.847·seconds)</p>193 <img·src="../_images/sphx_glr_simplify_001.png"·srcset="../_images/sphx_glr_simplify_001.png"·alt="Multigraph...,·...simplified"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.836·seconds)</p>
194 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-simplify-py">194 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-simplify-py">
195 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">195 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
196 <p><a·class="reference·download·internal"·download=""·href="../_downloads/54476cc5a7944a895c863c973e50cf77/simplify.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">simplify.ipynb</span></code></a></p>196 <p><a·class="reference·download·internal"·download=""·href="../_downloads/54476cc5a7944a895c863c973e50cf77/simplify.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">simplify.ipynb</span></code></a></p>
197 </div>197 </div>
198 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">198 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/df86bcfbbf6e084c64304a7c77e115b8/simplify.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">simplify.py</span></code></a></p>199 <p><a·class="reference·download·internal"·download=""·href="../_downloads/df86bcfbbf6e084c64304a7c77e115b8/simplify.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">simplify.py</span></code></a></p>
200 </div>200 </div>
1.73 KB
html2text {}
    
Offset 65, 15 lines modifiedOffset 65, 15 lines modified
65 )65 )
66 To·simplify·the·graph,·we·must·remember·that·the·function·operates·in·place,66 To·simplify·the·graph,·we·must·remember·that·the·function·operates·in·place,
67 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a67 i.e.·directly·changes·the·graph·that·it·is·run·on.·So·we·need·to·first·make·a
68 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph68 copy·of·our·graph,·and·then·simplify·that·copy·to·keep·the·original·graph
69 untouched:69 untouched:
70 g2·=·g1.copy()70 g2·=·g1.copy()
71 g2.simplify()71 g2.simplify()
72 <igraph.Graph·object·at·0xeed32530>72 <igraph.Graph·object·at·0xae5a8230>
73 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s73 We·can·then·proceed·to·plot·both·graphs·to·see·the·difference.·First,·let’s
74 choose·a·consistent·visual·style:74 choose·a·consistent·visual·style:
75 _\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8__\x8s_\x8t_\x8y_\x8l_\x8e·=·{75 _\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8__\x8s_\x8t_\x8y_\x8l_\x8e·=·{
76 ····"vertex_color":·"lightblue",76 ····"vertex_color":·"lightblue",
77 ····"vertex_size":·20,77 ····"vertex_size":·20,
78 ····"vertex_label":·[0,·1,·2,·3,·4],78 ····"vertex_label":·[0,·1,·2,·3,·4],
79 }79 }
Offset 99, 15 lines modifiedOffset 99, 15 lines modified
99 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[0].transAxes,99 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[0].transAxes,
100 ····))100 ····))
101 axs[1].add_patch(plt.Rectangle(101 axs[1].add_patch(plt.Rectangle(
102 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[1].transAxes,102 ····(0,·0),·1,·1,·fc='none',·ec='k',·lw=4,·transform=axs[1].transAxes,
103 ····))103 ····))
104 plt.show()104 plt.show()
105 [Multigraph...,·...simplified]105 [Multigraph...,·...simplified]
106 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.847·seconds)106 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.836·seconds)
107 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b107 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8J_\x8u_\x8p_\x8y_\x8t_\x8e_\x8r_\x8·_\x8n_\x8o_\x8t_\x8e_\x8b_\x8o_\x8o_\x8k_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
108 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8p_\x8y108 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8s_\x8i_\x8m_\x8p_\x8l_\x8i_\x8f_\x8y_\x8._\x8p_\x8y
109 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y109 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
110 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t110 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
111 ===============================================================================111 ===============================================================================
112 ©·Copyright·2010-2024,·The·igraph·development·team.112 ©·Copyright·2010-2024,·The·igraph·development·team.
113 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.113 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
2.88 KB
./usr/share/doc/python-igraph-doc/html/tutorials/spanning_trees.html
    
Offset 172, 15 lines modifiedOffset 172, 15 lines modified
172 </pre></div>172 </pre></div>
173 </div>173 </div>
174 <img·src="../_images/sphx_glr_spanning_trees_001.png"·srcset="../_images/sphx_glr_spanning_trees_001.png"·alt="spanning·trees"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">174 <img·src="../_images/sphx_glr_spanning_trees_001.png"·srcset="../_images/sphx_glr_spanning_trees_001.png"·alt="spanning·trees"·class·=·"sphx-glr-single-img"/><div·class="admonition·note">
175 <p·class="admonition-title">Note</p>175 <p·class="admonition-title">Note</p>
176 <p>To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,176 <p>To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,
177 you·can·call·<cite>ax.invert_yaxis()</cite>·before·<cite>plt.show()</cite>.</p>177 you·can·call·<cite>ax.invert_yaxis()</cite>·before·<cite>plt.show()</cite>.</p>
178 </div>178 </div>
179 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.353·seconds)</p>179 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.360·seconds)</p>
180 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-spanning-trees-py">180 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-spanning-trees-py">
181 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">181 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
182 <p><a·class="reference·download·internal"·download=""·href="../_downloads/babf92113ce2dc7d0ac7ca835125317e/spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">spanning_trees.ipynb</span></code></a></p>182 <p><a·class="reference·download·internal"·download=""·href="../_downloads/babf92113ce2dc7d0ac7ca835125317e/spanning_trees.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">spanning_trees.ipynb</span></code></a></p>
183 </div>183 </div>
184 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">184 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
185 <p><a·class="reference·download·internal"·download=""·href="../_downloads/84a135646841d3eb216cb170b4755139/spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">spanning_trees.py</span></code></a></p>185 <p><a·class="reference·download·internal"·download=""·href="../_downloads/84a135646841d3eb216cb170b4755139/spanning_trees.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">spanning_trees.py</span></code></a></p>
186 </div>186 </div>
1.12 KB
html2text {}
    
Offset 83, 15 lines modifiedOffset 83, 15 lines modified
83 ····edge_width=g.es["width"]83 ····edge_width=g.es["width"]
84 )84 )
85 plt.show()85 plt.show()
86 [spanning·trees]86 [spanning·trees]
87 Note87 Note
88 To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,·you88 To·invert·the·y·axis·such·that·the·root·of·the·tree·is·on·top·of·the·plot,·you
89 can·callax.invert_yaxis()beforeplt.show().89 can·callax.invert_yaxis()beforeplt.show().
90 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·2.353·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·2.360·seconds)
91 _\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_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b91 _\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_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
92 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8s_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8p_\x8y92 _\x8D_\x8o_\x8w_\x8n_\x8l_\x8o_\x8a_\x8d_\x8·_\x8P_\x8y_\x8t_\x8h_\x8o_\x8n_\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8s_\x8p_\x8a_\x8n_\x8n_\x8i_\x8n_\x8g_\x8__\x8t_\x8r_\x8e_\x8e_\x8s_\x8._\x8p_\x8y
93 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y93 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
94 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t94 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
95 ===============================================================================95 ===============================================================================
96 ©·Copyright·2010-2024,·The·igraph·development·team.96 ©·Copyright·2010-2024,·The·igraph·development·team.
97 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.97 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.1 KB
./usr/share/doc/python-igraph-doc/html/tutorials/topological_sort.html
    
Offset 182, 15 lines modifiedOffset 182, 15 lines modified
182 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">1</span><span·class="p">:</span>·<span·class="mi">1</span>182 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">1</span><span·class="p">:</span>·<span·class="mi">1</span>
183 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">2</span><span·class="p">:</span>·<span·class="mi">1</span>183 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">2</span><span·class="p">:</span>·<span·class="mi">1</span>
184 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">3</span><span·class="p">:</span>·<span·class="mi">2</span>184 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">3</span><span·class="p">:</span>·<span·class="mi">2</span>
185 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">4</span><span·class="p">:</span>·<span·class="mi">1</span>185 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">4</span><span·class="p">:</span>·<span·class="mi">1</span>
186 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">5</span><span·class="p">:</span>·<span·class="mi">2</span>186 <span·class="n">degree</span>·<span·class="n">of</span>·<span·class="mi">5</span><span·class="p">:</span>·<span·class="mi">2</span>
187 </pre></div>187 </pre></div>
188 </div>188 </div>
189 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.542·seconds)</p>189 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·0.556·seconds)</p>
190 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-topological-sort-py">190 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-topological-sort-py">
191 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">191 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b0d031ac8dedde92ae4e40c8c09bfb2d/topological_sort.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">topological_sort.ipynb</span></code></a></p>192 <p><a·class="reference·download·internal"·download=""·href="../_downloads/b0d031ac8dedde92ae4e40c8c09bfb2d/topological_sort.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">topological_sort.ipynb</span></code></a></p>
193 </div>193 </div>
194 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">194 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75a0b33a685d1f3ca81fe08e393cf370/topological_sort.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">topological_sort.py</span></code></a></p>195 <p><a·class="reference·download·internal"·download=""·href="../_downloads/75a0b33a685d1f3ca81fe08e393cf370/topological_sort.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">topological_sort.py</span></code></a></p>
196 </div>196 </div>
1.05 KB
html2text {}
    
Offset 93, 15 lines modifiedOffset 93, 15 lines modified
93 [topological·sort]93 [topological·sort]
94 degree·of·0:·094 degree·of·0:·0
95 degree·of·1:·195 degree·of·1:·1
96 degree·of·2:·196 degree·of·2:·1
97 degree·of·3:·297 degree·of·3:·2
98 degree·of·4:·198 degree·of·4:·1
99 degree·of·5:·299 degree·of·5:·2
100 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc\x8cr\x8ri\x8ip\x8pt\x8t:\x8:·(0·minutes·0.542·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.556·seconds)
101 _\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·_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8__\x8s_\x8o_\x8r_\x8t_\x8._\x8i_\x8p_\x8y_\x8n_\x8b101 _\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·_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8__\x8s_\x8o_\x8r_\x8t_\x8._\x8i_\x8p_\x8y_\x8n_\x8b
102 _\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·_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8__\x8s_\x8o_\x8r_\x8t_\x8._\x8p_\x8y102 _\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·_\x8t_\x8o_\x8p_\x8o_\x8l_\x8o_\x8g_\x8i_\x8c_\x8a_\x8l_\x8__\x8s_\x8o_\x8r_\x8t_\x8._\x8p_\x8y
103 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y103 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
104 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t104 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
105 ===============================================================================105 ===============================================================================
106 ©·Copyright·2010-2024,·The·igraph·development·team.106 ©·Copyright·2010-2024,·The·igraph·development·team.
107 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.107 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.1 KB
./usr/share/doc/python-igraph-doc/html/tutorials/visual_style.html
    
Offset 200, 15 lines modifiedOffset 200, 15 lines modified
200 ········<span·class="mi">30</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·0</span>200 ········<span·class="mi">30</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·0</span>
201 ········<span·class="mi">80</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·1</span>201 ········<span·class="mi">80</span><span·class="p">,</span>··<span·class="c1">#·loop·for·vertex·1</span>
202 ····<span·class="p">],</span>202 ····<span·class="p">],</span>
203 <span·class="p">)</span>203 <span·class="p">)</span>
204 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>204 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
205 </pre></div>205 </pre></div>
206 </div>206 </div>
207 <img·src="../_images/sphx_glr_visual_style_003.png"·srcset="../_images/sphx_glr_visual_style_003.png"·alt="visual·style"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·11.334·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·10.766·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.08 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\x8n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x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8__\x8s_\x8t_\x8y_\x8l_\x8e_\x8._\x8p_\x8y
118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y118 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t119 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
120 ===============================================================================120 ===============================================================================
121 ©·Copyright·2010-2024,·The·igraph·development·team.121 ©·Copyright·2010-2024,·The·igraph·development·team.
122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.122 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.33 KB
./usr/share/doc/python-igraph-doc/html/tutorials/visualize_cliques.html
    
Offset 178, 15 lines modifiedOffset 178, 15 lines modified
178 ········<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">,</span>178 ········<span·class="n">vertex_size</span><span·class="o">=</span><span·class="mi">5</span><span·class="p">,</span>
179 ········<span·class="n">target</span><span·class="o">=</span><span·class="n">ax</span><span·class="p">,</span>179 ········<span·class="n">target</span><span·class="o">=</span><span·class="n">ax</span><span·class="p">,</span>
180 ····<span·class="p">)</span>180 ····<span·class="p">)</span>
181 <span·class="n">plt</span><span·class="o">.</span><span·class="n">axis</span><span·class="p">(</span><span·class="s1">&#39;off&#39;</span><span·class="p">)</span>181 <span·class="n">plt</span><span·class="o">.</span><span·class="n">axis</span><span·class="p">(</span><span·class="s1">&#39;off&#39;</span><span·class="p">)</span>
182 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>182 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
183 </pre></div>183 </pre></div>
184 </div>184 </div>
185 <img·src="../_images/sphx_glr_visualize_cliques_002.png"·srcset="../_images/sphx_glr_visualize_cliques_002.png"·alt="visualize·cliques"·class·=·"sphx-glr-single-img"/><p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·49.727·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·48.961·seconds)</p>
186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-cliques-py">186 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-cliques-py">
187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">187 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/da65d2622d92114804d208875f9bb90b/visualize_cliques.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_cliques.ipynb</span></code></a></p>188 <p><a·class="reference·download·internal"·download=""·href="../_downloads/da65d2622d92114804d208875f9bb90b/visualize_cliques.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_cliques.ipynb</span></code></a></p>
189 </div>189 </div>
190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">190 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/e7bcea221487de8e5781ec3f6b3b6c47/visualize_cliques.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_cliques.py</span></code></a></p>191 <p><a·class="reference·download·internal"·download=""·href="../_downloads/e7bcea221487de8e5781ec3f6b3b6c47/visualize_cliques.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_cliques.py</span></code></a></p>
192 </div>192 </div>
1.08 KB
html2text {}
    
Offset 91, 15 lines modifiedOffset 91, 15 lines modified
91 ········palette=ig.RainbowPalette(),91 ········palette=ig.RainbowPalette(),
92 ········vertex_size=5,92 ········vertex_size=5,
93 ········target=ax,93 ········target=ax,
94 ····)94 ····)
95 plt.axis('off')95 plt.axis('off')
96 plt.show()96 plt.show()
97 [visualize·cliques]97 [visualize·cliques]
98 T\x8To\x8ot\x8ta\x8al\x8l·r\x8ru\x8un\x8nn\x8ni\x8in\x8ng\x8g·t\x8ti\x8im\x8me\x8e·o\x8of\x8f·t\x8th\x8he\x8e·s\x8sc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\x8·_\x8s_\x8o_\x8u_\x8r_\x8c_\x8e_\x8·_\x8c_\x8o_\x8d_\x8e_\x8:_\x8·_\x8v_\x8i_\x8s_\x8u_\x8a_\x8l_\x8i_\x8z_\x8e_\x8__\x8c_\x8l_\x8i_\x8q_\x8u_\x8e_\x8s_\x8._\x8p_\x8y
101 _\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_\x8y101 _\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y_\x8·_\x8g_\x8e_\x8n_\x8e_\x8r_\x8a_\x8t_\x8e_\x8d_\x8·_\x8b_\x8y_\x8·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x_\x8-_\x8G_\x8a_\x8l_\x8l_\x8e_\x8r_\x8y
102 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t102 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
103 ===============================================================================103 ===============================================================================
104 ©·Copyright·2010-2024,·The·igraph·development·team.104 ©·Copyright·2010-2024,·The·igraph·development·team.
105 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.105 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
3.37 KB
./usr/share/doc/python-igraph-doc/html/tutorials/visualize_communities.html
    
Offset 174, 15 lines modifiedOffset 174, 15 lines modified
174 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>174 ····<span·class="n">bbox_transform</span><span·class="o">=</span><span·class="n">ax</span><span·class="o">.</span><span·class="n">transAxes</span><span·class="p">,</span>
175 <span·class="p">)</span>175 <span·class="p">)</span>
176 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>176 <span·class="n">plt</span><span·class="o">.</span><span·class="n">show</span><span·class="p">()</span>
177 </pre></div>177 </pre></div>
178 </div>178 </div>
179 <img·src="../_images/sphx_glr_visualize_communities_001.png"·srcset="../_images/sphx_glr_visualize_communities_001.png"·alt="visualize·communities"·class·=·"sphx-glr-single-img"/><p>For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,179 <img·src="../_images/sphx_glr_visualize_communities_001.png"·srcset="../_images/sphx_glr_visualize_communities_001.png"·alt="visualize·communities"·class·=·"sphx-glr-single-img"/><p>For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,
180 check·out·<a·class="reference·internal"·href="cluster_contraction.html#tutorials-cluster-graph"><span·class="std·std-ref">Generating·Cluster·Graphs</span></a>.</p>180 check·out·<a·class="reference·internal"·href="cluster_contraction.html#tutorials-cluster-graph"><span·class="std·std-ref">Generating·Cluster·Graphs</span></a>.</p>
181 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.491·seconds)</p>181 <p·class="sphx-glr-timing"><strong>Total·running·time·of·the·script:</strong>·(0·minutes·2.473·seconds)</p>
182 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-communities-py">182 <div·class="sphx-glr-footer·sphx-glr-footer-example·docutils·container"·id="sphx-glr-download-tutorials-visualize-communities-py">
183 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">183 <div·class="sphx-glr-download·sphx-glr-download-jupyter·docutils·container">
184 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f082956eca17112cb706ac88c24e553d/visualize_communities.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_communities.ipynb</span></code></a></p>184 <p><a·class="reference·download·internal"·download=""·href="../_downloads/f082956eca17112cb706ac88c24e553d/visualize_communities.ipynb"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Jupyter</span>·<span·class="pre">notebook:</span>·<span·class="pre">visualize_communities.ipynb</span></code></a></p>
185 </div>185 </div>
186 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">186 <div·class="sphx-glr-download·sphx-glr-download-python·docutils·container">
187 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a8f8ff572a8d1db2c2c0c6b094e4dcbe/visualize_communities.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_communities.py</span></code></a></p>187 <p><a·class="reference·download·internal"·download=""·href="../_downloads/a8f8ff572a8d1db2c2c0c6b094e4dcbe/visualize_communities.py"><code·class="xref·download·docutils·literal·notranslate"><span·class="pre">Download</span>·<span·class="pre">Python</span>·<span·class="pre">source</span>·<span·class="pre">code:</span>·<span·class="pre">visualize_communities.py</span></code></a></p>
188 </div>188 </div>
1.23 KB
html2text {}
    
Offset 88, 15 lines modifiedOffset 88, 15 lines modified
88 ····bbox_to_anchor=(0,·1.0),88 ····bbox_to_anchor=(0,·1.0),
89 ····bbox_transform=ax.transAxes,89 ····bbox_transform=ax.transAxes,
90 )90 )
91 plt.show()91 plt.show()
92 [visualize·communities]92 [visualize·communities]
93 For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster,93 For·an·example·on·how·to·generate·the·cluster·graph·from·a·vertex·cluster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x8N_\x8e_\x8x_\x8t99 _\x8P_\x8r_\x8e_\x8v_\x8i_\x8o_\x8u_\x8s·_\x8N_\x8e_\x8x_\x8t
100 ===============================================================================100 ===============================================================================
101 ©·Copyright·2010-2024,·The·igraph·development·team.101 ©·Copyright·2010-2024,·The·igraph·development·team.
102 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.102 Built·with·_\x8S_\x8p_\x8h_\x8i_\x8n_\x8x·using·a·_\x8t_\x8h_\x8e_\x8m_\x8e·provided·by·_\x8R_\x8e_\x8a_\x8d_\x8·_\x8t_\x8h_\x8e_\x8·_\x8D_\x8o_\x8c_\x8s.
14.2 KB
./usr/share/doc/python-igraph-doc/igraph.pdf.gz
14.1 KB
igraph.pdf
14.1 KB
pdftotext {} -
    
Offset 291, 15 lines modifiedOffset 291, 15 lines modified
  
291 10291 10
  
292 Chapter·2.·Documentation292 Chapter·2.·Documentation
  
293 \xcigraph·Documentation,·Release·0.11.8293 \xcigraph·Documentation,·Release·0.11.8
  
294 Total·running·time·of·the·script:·(0·minutes·2.038·seconds)294 Total·running·time·of·the·script:·(0·minutes·2.044·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·3.237·seconds)333 Total·running·time·of·the·script:·(0·minutes·3.311·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·6.392·seconds)381 Total·running·time·of·the·script:·(0·minutes·6.728·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.695·seconds)418 Total·running·time·of·the·script:·(0·minutes·0.699·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.496·seconds)465 Total·running·time·of·the·script:·(0·minutes·0.495·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·1.836·seconds)510 Total·running·time·of·the·script:·(0·minutes·1.839·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·2.353·seconds)569 Total·running·time·of·the·script:·(0·minutes·2.360·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·2.793·seconds)636 Total·running·time·of·the·script:·(0·minutes·2.810·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; 10453/14421 bytes (72.48%) of diff not shown.