diff --git a/articles/igraph.html b/articles/igraph.html index 29f2360a37..9b6e3bc361 100644 --- a/articles/igraph.html +++ b/articles/igraph.html @@ -155,9 +155,9 @@

Creating a graphWe can print the graph to get a summary of its nodes and edges:

 g
-
## IGRAPH 0867ecd UN-- 10 2 -- 
+
## IGRAPH c36abfe UN-- 10 2 -- 
 ## + attr: name (v/c)
-## + edges from 0867ecd (vertex names):
+## + edges from c36abfe (vertex names):
 ## [1] 1--2 1--5

This means: Undirected Named graph with 10 vertices and 2 edges, with the @@ -169,7 +169,7 @@

Creating a graph -
## IGRAPH 0867ecd UN-- 10 2 -- 
+
## IGRAPH c36abfe UN-- 10 2 -- 
 ## + attr: name (v/c)

The same function make_graph can create some notable graphs by just specifying their name. For example you can create the @@ -247,9 +247,9 @@

Adding/deleting vertices and edgesg <- g %>% add_edges(edges=c(1,34)) %>% add_vertices(3) %>% add_edges(edges=c(38,39, 39,40, 40,38, 40,37)) g

-
## IGRAPH 7f4f467 U--- 40 86 -- Zachary
+
## IGRAPH 39d8310 U--- 40 86 -- Zachary
 ## + attr: name (g/c)
-## + edges from 7f4f467:
+## + edges from 39d8310:
 ##  [1]  1-- 2  1-- 3  1-- 4  1-- 5  1-- 6  1-- 7  1-- 8  1-- 9  1--11  1--12
 ## [11]  1--13  1--14  1--18  1--20  1--22  1--32  2-- 3  2-- 4  2-- 8  2--14
 ## [21]  2--18  2--20  2--22  2--31  3-- 4  3-- 8  3--28  3--29  3--33  3--10
@@ -332,7 +332,7 @@ 

Constructing graphs
 graph1 <- make_tree(127, 2, mode = "undirected")
 summary(g)
-
## IGRAPH f43db42 U--- 5 3 -- Ring graph
+
## IGRAPH 5ddf203 U--- 5 3 -- Ring graph
 ## + attr: name (g/c), mutual (g/l), circular (g/l)

This generates a regular tree graph with 127 vertices, each vertex having two children. No matter how many times you call @@ -349,7 +349,7 @@

Constructing graphs
 graph1 <- sample_grg(100, 0.2)
 summary(graph1)
-
## IGRAPH f29fcf8 U--- 100 517 -- Geometric random graph
+
## IGRAPH dc26443 U--- 100 555 -- Geometric random graph
 ## + attr: name (g/c), radius (g/n), torus (g/l)

This generates a geometric random graph: n points are chosen randomly and uniformly inside the unit square and pairs of points closer @@ -400,7 +400,7 @@

Setting and retrieving attributesV(g)$gender <- c("f", "m", "f", "m", "m", "f", "m") E(g)$is_formal <- c(FALSE, FALSE, TRUE, TRUE, TRUE, FALSE, TRUE, FALSE, FALSE) summary(g)

-
## IGRAPH 2a1eaa0 UN-- 7 9 -- 
+
## IGRAPH e29c05b UN-- 7 9 -- 
 ## + attr: name (v/c), age (v/n), gender (v/c), is_formal (e/l)

V and E are the standard way to obtain a sequence of all vertices and edges, respectively. This assigns an @@ -442,7 +442,7 @@

Setting and retrieving attributes
 V(g)$name[1:3] <- c("Alejandra", "Bruno", "Carmina")
 V(g)
-
## + 7/7 vertices, named, from 2a1eaa0:
+
## + 7/7 vertices, named, from e29c05b:
 ## [1] Alejandra Bruno     Carmina   Frank     Dennis    Esther    George

To delete attributes:

@@ -554,12 +554,12 @@ 

Selecting vertices
 seq <- V(graph)[2, 3, 7]
 seq

-
## + 3/10 vertices, from 8d522bf:
+
## + 3/10 vertices, from f7e93ea:
 ## [1] 2 3 7
 seq <- seq[1, 3]    # filtering an existing vertex set
 seq
-
## + 2/10 vertices, from 8d522bf:
+
## + 2/10 vertices, from f7e93ea:
 ## [1] 2 7

Selecting a vertex that does not exist results in an error:

@@ -655,12 +655,12 @@ 

Selecting edges
 E(g)[.from(3)]
-
## + 4/9 edges from 2a1eaa0 (vertex names):
+
## + 4/9 edges from e29c05b (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Frank   Carmina  --Dennis  Carmina  --Esther

Of course it also works with vertex names:

 E(g)[.from("Carmina")]
-
## + 4/9 edges from 2a1eaa0 (vertex names):
+
## + 4/9 edges from e29c05b (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Frank   Carmina  --Dennis  Carmina  --Esther

Using .to filters edge sequences based on the target vertices. This is different from .from if the graph is @@ -675,7 +675,7 @@

Selecting edges
 E(g) [ 3:5 %--% 5:6 ]
-
## + 3/9 edges from 2a1eaa0 (vertex names):
+
## + 3/9 edges from e29c05b (vertex names):
 ## [1] Carmina--Dennis Carmina--Esther Dennis --Esther

To make the %--% operator work with names, you can build string vectors containing the names and then use these vectors as @@ -694,7 +694,7 @@

Selecting edges## [1] "Alejandra" "Carmina" "Esther"

 E(g)[men %--% women]
-
## + 5/9 edges from 2a1eaa0 (vertex names):
+
## + 5/9 edges from e29c05b (vertex names):
 ## [1] Alejandra--Bruno  Alejandra--Frank  Carmina  --Frank  Carmina  --Dennis
 ## [5] Dennis   --Esther

diff --git a/articles/igraph_ES.html b/articles/igraph_ES.html index 90b11236db..c5adf15e45 100644 --- a/articles/igraph_ES.html +++ b/articles/igraph_ES.html @@ -159,9 +159,9 @@

Crear un grafo
 g
-
## IGRAPH 5c75321 UN-- 10 2 -- 
+
## IGRAPH 40e4178 UN-- 10 2 -- 
 ## + attr: name (v/c)
-## + edges from 5c75321 (vertex names):
+## + edges from 40e4178 (vertex names):
 ## [1] 1--2 1--5

Esto significa: grafo no dirigido (Undirected) con 10 vértices y 2 aristas, que se @@ -173,7 +173,7 @@

Crear un grafo -
## IGRAPH 5c75321 UN-- 10 2 -- 
+
## IGRAPH 40e4178 UN-- 10 2 -- 
 ## + attr: name (v/c)

También make_graph puede crear algunos grafos destacados con sólo especificar su nombre. Por ejemplo, puedes generar el grafo que @@ -257,9 +257,9 @@

Añadir y borrar vértices y arist g <- g %>% add_edges(edges=c(1,34)) %>% add_vertices(3) %>% add_edges(edges=c(38,39, 39,40, 40,38, 40,37)) g

-
## IGRAPH 71be6ad U--- 40 86 -- Zachary
+
## IGRAPH 1638c81 U--- 40 86 -- Zachary
 ## + attr: name (g/c)
-## + edges from 71be6ad:
+## + edges from 1638c81:
 ##  [1]  1-- 2  1-- 3  1-- 4  1-- 5  1-- 6  1-- 7  1-- 8  1-- 9  1--11  1--12
 ## [11]  1--13  1--14  1--18  1--20  1--22  1--32  2-- 3  2-- 4  2-- 8  2--14
 ## [21]  2--18  2--20  2--22  2--31  3-- 4  3-- 8  3--28  3--29  3--33  3--10
@@ -346,7 +346,7 @@ 

Construcción de grafos
 graph1 <- make_tree(127, 2, mode = "undirected")
 summary(g)
-
## IGRAPH d94deac U--- 5 3 -- Ring graph
+
## IGRAPH f9d31e7 U--- 5 3 -- Ring graph
 ## + attr: name (g/c), mutual (g/l), circular (g/l)

Esto genera un grafo regular en forma de árbol con 127 vértices, cada vértice con dos hijos. No importa cuántas veces llames a @@ -363,7 +363,7 @@

Construcción de grafos
 graph1 <- sample_grg(100, 0.2)
 summary(graph1)
-
## IGRAPH b933d08 U--- 100 495 -- Geometric random graph
+
## IGRAPH e56e0eb U--- 100 486 -- Geometric random graph
 ## + attr: name (g/c), radius (g/n), torus (g/l)

Esto genera un grafo geométrico aleatorio: Se eligen n puntos de forma aleatoria y uniforme dentro del espacio métrico, y los @@ -416,7 +416,7 @@

Establecer y recuperar atributosV(g)$gender <- c("f", "m", "f", "m", "m", "f", "m") E(g)$is_formal <- c(FALSE, FALSE, TRUE, TRUE, TRUE, FALSE, TRUE, FALSE, FALSE) summary(g)

-
## IGRAPH dcfffcb UN-- 7 9 -- 
+
## IGRAPH c9ce42b UN-- 7 9 -- 
 ## + attr: name (v/c), age (v/n), gender (v/c), is_formal (e/l)

V y E son la forma estándar de obtener una secuencia de todos los vértices y aristas respectivamente. Esto asigna @@ -460,7 +460,7 @@

Establecer y recuperar atributos
 V(g)$name[1:3] <- c("Alejandra", "Bruno", "Carmina")
 V(g)
-
## + 7/7 vertices, named, from dcfffcb:
+
## + 7/7 vertices, named, from c9ce42b:
 ## [1] Alejandra Bruno     Carmina   Frank     Dennis    Esther    George

Para eliminar atributos:

@@ -575,12 +575,12 @@ 

Selección de vértices
 seq <- V(graph)[2, 3, 7]
 seq

-
## + 3/10 vertices, from 4aa7212:
+
## + 3/10 vertices, from 209c75b:
 ## [1] 2 3 7
 seq <- seq[1, 3]    # filtrar un conjunto de vértices existente
 seq
-
## + 2/10 vertices, from 4aa7212:
+
## + 2/10 vertices, from 209c75b:
 ## [1] 2 7

Al seleccionar un vértice que no existe se produce un error:

@@ -674,12 +674,12 @@ 

Selección de aristas
 E(g)[.from(3)]
-
## + 4/9 edges from dcfffcb (vertex names):
+
## + 4/9 edges from c9ce42b (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Frank   Carmina  --Dennis  Carmina  --Esther

Por supuesto, también funciona con nombres de vértices:

 E(g)[.from("Carmina")]
-
## + 4/9 edges from dcfffcb (vertex names):
+
## + 4/9 edges from c9ce42b (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Frank   Carmina  --Dennis  Carmina  --Esther

Al usar .to, se filtran la serie de aristas en función de los vértices de destino o diana. Esto es diferente de @@ -696,7 +696,7 @@

Selección de aristas
 E(g) [ 3:5 %--% 5:6 ]
-
## + 3/9 edges from dcfffcb (vertex names):
+
## + 3/9 edges from c9ce42b (vertex names):
 ## [1] Carmina--Dennis Carmina--Esther Dennis --Esther

Para que el operador %--% funcione con nombres, puedes construir vectores de caracteres que contengan los nombres y luego @@ -716,7 +716,7 @@

Selección de aristas## [1] "Alejandra" "Carmina" "Esther"

 E(g)[men %--% women]
-
## + 5/9 edges from dcfffcb (vertex names):
+
## + 5/9 edges from c9ce42b (vertex names):
 ## [1] Alejandra--Bruno  Alejandra--Frank  Carmina  --Frank  Carmina  --Dennis
 ## [5] Dennis   --Esther

diff --git a/articles/igraph_ES_files/figure-html/unnamed-chunk-17-1.png b/articles/igraph_ES_files/figure-html/unnamed-chunk-17-1.png index b07c7c1ed2..b84e5de1c3 100644 Binary files a/articles/igraph_ES_files/figure-html/unnamed-chunk-17-1.png and b/articles/igraph_ES_files/figure-html/unnamed-chunk-17-1.png differ diff --git a/articles/igraph_ES_files/figure-html/unnamed-chunk-18-1.png b/articles/igraph_ES_files/figure-html/unnamed-chunk-18-1.png index 22102801f6..40d04fc01c 100644 Binary files a/articles/igraph_ES_files/figure-html/unnamed-chunk-18-1.png and b/articles/igraph_ES_files/figure-html/unnamed-chunk-18-1.png differ diff --git a/articles/igraph_ES_files/figure-html/unnamed-chunk-19-1.png b/articles/igraph_ES_files/figure-html/unnamed-chunk-19-1.png index 7e86c2c209..03fcae84b8 100644 Binary files a/articles/igraph_ES_files/figure-html/unnamed-chunk-19-1.png and b/articles/igraph_ES_files/figure-html/unnamed-chunk-19-1.png differ diff --git a/articles/igraph_ES_files/figure-html/unnamed-chunk-21-1.png b/articles/igraph_ES_files/figure-html/unnamed-chunk-21-1.png index 06863bbbad..5f91d3033b 100644 Binary files a/articles/igraph_ES_files/figure-html/unnamed-chunk-21-1.png and b/articles/igraph_ES_files/figure-html/unnamed-chunk-21-1.png differ diff --git a/articles/igraph_ES_files/figure-html/unnamed-chunk-64-1.png b/articles/igraph_ES_files/figure-html/unnamed-chunk-64-1.png index 381b0f0b7d..610c91eb2a 100644 Binary files a/articles/igraph_ES_files/figure-html/unnamed-chunk-64-1.png and b/articles/igraph_ES_files/figure-html/unnamed-chunk-64-1.png differ diff --git a/articles/igraph_ES_files/figure-html/unnamed-chunk-9-1.png b/articles/igraph_ES_files/figure-html/unnamed-chunk-9-1.png index 97de3ca83d..228aff35ec 100644 Binary files a/articles/igraph_ES_files/figure-html/unnamed-chunk-9-1.png and b/articles/igraph_ES_files/figure-html/unnamed-chunk-9-1.png differ diff --git a/articles/igraph_files/figure-html/unnamed-chunk-17-1.png b/articles/igraph_files/figure-html/unnamed-chunk-17-1.png index 92c898b08e..8fd3804ac4 100644 Binary files a/articles/igraph_files/figure-html/unnamed-chunk-17-1.png and b/articles/igraph_files/figure-html/unnamed-chunk-17-1.png differ diff --git a/articles/igraph_files/figure-html/unnamed-chunk-18-1.png b/articles/igraph_files/figure-html/unnamed-chunk-18-1.png index 2b6d9cda1e..531ff3e5e9 100644 Binary files a/articles/igraph_files/figure-html/unnamed-chunk-18-1.png and b/articles/igraph_files/figure-html/unnamed-chunk-18-1.png differ diff --git a/articles/igraph_files/figure-html/unnamed-chunk-19-1.png b/articles/igraph_files/figure-html/unnamed-chunk-19-1.png index 557cc2adc1..50a68a494d 100644 Binary files a/articles/igraph_files/figure-html/unnamed-chunk-19-1.png and b/articles/igraph_files/figure-html/unnamed-chunk-19-1.png differ diff --git a/articles/igraph_files/figure-html/unnamed-chunk-21-1.png b/articles/igraph_files/figure-html/unnamed-chunk-21-1.png index 594e1254af..eacd4df87b 100644 Binary files a/articles/igraph_files/figure-html/unnamed-chunk-21-1.png and b/articles/igraph_files/figure-html/unnamed-chunk-21-1.png differ diff --git a/articles/igraph_files/figure-html/unnamed-chunk-64-1.png b/articles/igraph_files/figure-html/unnamed-chunk-64-1.png index 99249883ca..fb57e27a93 100644 Binary files a/articles/igraph_files/figure-html/unnamed-chunk-64-1.png and b/articles/igraph_files/figure-html/unnamed-chunk-64-1.png differ diff --git a/articles/igraph_files/figure-html/unnamed-chunk-9-1.png b/articles/igraph_files/figure-html/unnamed-chunk-9-1.png index bb8fc782dd..8e34b97a18 100644 Binary files a/articles/igraph_files/figure-html/unnamed-chunk-9-1.png and b/articles/igraph_files/figure-html/unnamed-chunk-9-1.png differ diff --git a/pkgdown.yml b/pkgdown.yml index f60fab1266..46dc852037 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -5,7 +5,7 @@ articles: installation-troubleshooting: installation-troubleshooting.html igraph: igraph.html igraph_ES: igraph_ES.html -last_built: 2023-11-09T19:46Z +last_built: 2023-11-09T20:01Z urls: reference: https://r.igraph.org/reference article: https://r.igraph.org/articles diff --git a/reference/E.html b/reference/E.html index 2396fef578..e80a8637a4 100644 --- a/reference/E.html +++ b/reference/E.html @@ -157,14 +157,14 @@

Examples
# Edges of an unnamed graph
 g <- make_ring(10)
 E(g)
-#> + 10/10 edges from e9131dd:
+#> + 10/10 edges from c7aac15:
 #>  [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10
 
 # Edges of a named graph
 g2 <- make_ring(10) %>%
   set_vertex_attr("name", value = letters[1:10])
 E(g2)
-#> + 10/10 edges from 4aa01bd (vertex names):
+#> + 10/10 edges from 61f6d3a (vertex names):
 #>  [1] a--b b--c c--d d--e e--f f--g g--h h--i i--j a--j
 
diff --git a/reference/V.html b/reference/V.html index b34ff34a0e..ecc2b8d613 100644 --- a/reference/V.html +++ b/reference/V.html @@ -137,14 +137,14 @@

Examples
# Vertex ids of an unnamed graph
 g <- make_ring(10)
 V(g)
-#> + 10/10 vertices, from 9c9e455:
+#> + 10/10 vertices, from 745d1e3:
 #>  [1]  1  2  3  4  5  6  7  8  9 10
 
 # Vertex ids of a named graph
 g2 <- make_ring(10) %>%
   set_vertex_attr("name", value = letters[1:10])
 V(g2)
-#> + 10/10 vertices, named, from 7dd17ea:
+#> + 10/10 vertices, named, from b37f916:
 #>  [1] a b c d e f g h i j
 
diff --git a/reference/add_edges-1.png b/reference/add_edges-1.png index ddfda29558..db7b2d9180 100644 Binary files a/reference/add_edges-1.png and b/reference/add_edges-1.png differ diff --git a/reference/add_edges.html b/reference/add_edges.html index 47431f683a..06052ddb29 100644 --- a/reference/add_edges.html +++ b/reference/add_edges.html @@ -152,7 +152,7 @@

Examples set_edge_attr("color", value = "red") %>% add_edges(c(5, 1), color = "green") E(g)[[]] -#> + 5/5 edges from 59ed050: +#> + 5/5 edges from 263088b: #> tail head tid hid color #> 1 1 2 1 2 red #> 2 2 3 2 3 red diff --git a/reference/add_layout_-1.png b/reference/add_layout_-1.png index 90bfa82295..6a14956531 100644 Binary files a/reference/add_layout_-1.png and b/reference/add_layout_-1.png differ diff --git a/reference/add_vertices-1.png b/reference/add_vertices-1.png index 3a491a9d83..93a6025773 100644 Binary files a/reference/add_vertices-1.png and b/reference/add_vertices-1.png differ diff --git a/reference/add_vertices.html b/reference/add_vertices.html index 35997edcfa..0c2d3167e4 100644 --- a/reference/add_vertices.html +++ b/reference/add_vertices.html @@ -143,12 +143,12 @@

Examples 4, 5 )) g -#> IGRAPH 38eefd9 D--- 5 4 -- +#> IGRAPH 1644bae D--- 5 4 -- #> + attr: color (v/c) -#> + edges from 38eefd9: +#> + edges from 1644bae: #> [1] 1->2 2->3 3->4 4->5 V(g)[[]] -#> + 5/5 vertices, from 38eefd9: +#> + 5/5 vertices, from 1644bae: #> color #> 1 red #> 2 red diff --git a/reference/adjacent_vertices.html b/reference/adjacent_vertices.html index 928a75134d..16eeae5032 100644 --- a/reference/adjacent_vertices.html +++ b/reference/adjacent_vertices.html @@ -117,11 +117,11 @@

Examples
g <- make_graph("Zachary")
 adjacent_vertices(g, c(1, 34))
 #> [[1]]
-#> + 16/34 vertices, from b51aafc:
+#> + 16/34 vertices, from 73d9e84:
 #>  [1]  2  3  4  5  6  7  8  9 11 12 13 14 18 20 22 32
 #> 
 #> [[2]]
-#> + 17/34 vertices, from b51aafc:
+#> + 17/34 vertices, from 73d9e84:
 #>  [1]  9 10 14 15 16 19 20 21 23 24 27 28 29 30 31 32 33
 #> 
 
diff --git a/reference/all_simple_paths.html b/reference/all_simple_paths.html index e5c432bb2c..da249e1add 100644 --- a/reference/all_simple_paths.html +++ b/reference/all_simple_paths.html @@ -138,28 +138,28 @@

Examplesg <- make_ring(10) all_simple_paths(g, 1, 5) #> [[1]] -#> + 5/10 vertices, from 0de7c34: +#> + 5/10 vertices, from 7d10872: #> [1] 1 2 3 4 5 #> #> [[2]] -#> + 7/10 vertices, from 0de7c34: +#> + 7/10 vertices, from 7d10872: #> [1] 1 10 9 8 7 6 5 #> all_simple_paths(g, 1, c(3, 5)) #> [[1]] -#> + 3/10 vertices, from 0de7c34: +#> + 3/10 vertices, from 7d10872: #> [1] 1 2 3 #> #> [[2]] -#> + 5/10 vertices, from 0de7c34: +#> + 5/10 vertices, from 7d10872: #> [1] 1 2 3 4 5 #> #> [[3]] -#> + 7/10 vertices, from 0de7c34: +#> + 7/10 vertices, from 7d10872: #> [1] 1 10 9 8 7 6 5 #> #> [[4]] -#> + 9/10 vertices, from 0de7c34: +#> + 9/10 vertices, from 7d10872: #> [1] 1 10 9 8 7 6 5 4 3 #> diff --git a/reference/are_adjacent.html b/reference/are_adjacent.html index af4c826b8a..03ffe9c3f3 100644 --- a/reference/are_adjacent.html +++ b/reference/are_adjacent.html @@ -115,9 +115,9 @@

See alsoExamples

ug <- make_ring(10)
 ug
-#> IGRAPH abc492f U--- 10 10 -- Ring graph
+#> IGRAPH 6b31da9 U--- 10 10 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from abc492f:
+#> + edges from 6b31da9:
 #>  [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10
 are_adjacent(ug, 1, 2)
 #> [1] TRUE
@@ -126,9 +126,9 @@ 

Examples dg <- make_ring(10, directed = TRUE) dg -#> IGRAPH 4ff5fc2 D--- 10 10 -- Ring graph +#> IGRAPH e8d7b76 D--- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l) -#> + edges from 4ff5fc2: +#> + edges from e8d7b76: #> [1] 1-> 2 2-> 3 3-> 4 4-> 5 5-> 6 6-> 7 7-> 8 8-> 9 9->10 10-> 1 are_adjacent(ug, 1, 2) #> [1] TRUE diff --git a/reference/arpack.html b/reference/arpack.html index 50c1a2b086..189646cf33 100644 --- a/reference/arpack.html +++ b/reference/arpack.html @@ -326,17 +326,17 @@

Examples#> [1] 1 1 #> #> $vectors -#> [,1] [,2] -#> [1,] -0.48926185 0.08312706 -#> [2,] -0.50966281 -0.17864159 -#> [3,] 0.25570356 0.10051153 -#> [4,] -0.20559680 0.54241784 -#> [5,] 0.08504446 0.29610427 -#> [6,] -0.10302097 0.26835307 -#> [7,] -0.52333740 -0.35410284 -#> [8,] 0.07980140 0.22882964 -#> [9,] 0.20939499 -0.49368252 -#> [10,] -0.22642853 0.27512184 +#> [,1] [,2] +#> [1,] -0.03718661 0.006339941 +#> [2,] 0.08824728 -0.102493573 +#> [3,] -0.55632539 -0.148828191 +#> [4,] 0.23428966 0.358425917 +#> [5,] 0.22763791 0.401485968 +#> [6,] -0.64043409 0.395648955 +#> [7,] -0.19594102 -0.606675569 +#> [8,] -0.06066377 -0.076068069 +#> [9,] 0.05327934 0.123871173 +#> [10,] 0.34576508 -0.363209529 #> #> $options #> $options$bmat @@ -491,28 +491,28 @@

Examples#> [6] 1.000000e+00 1.000000e+00 1.000000e+00 1.000000e+00 3.552714e-15 #> #> $vectors -#> [,1] [,2] [,3] [,4] [,5] -#> [1,] 0.9486833 0.000000e+00 0.000000e+00 0.000000e+00 0.000000e+00 -#> [2,] -0.1054093 2.220446e-16 1.850372e-17 2.775558e-17 3.700743e-17 -#> [3,] -0.1054093 9.217652e-01 -6.785364e-02 8.561849e-02 5.619618e-02 -#> [4,] -0.1054093 -5.739675e-02 9.080341e-01 -6.385514e-02 1.089764e-01 -#> [5,] -0.1054093 -1.873938e-01 -6.231407e-02 -1.480006e-01 -4.117769e-02 -#> [6,] -0.1054093 -1.873938e-01 -6.231407e-02 -8.668417e-02 5.645815e-02 -#> [7,] -0.1054093 -5.739675e-02 -1.645470e-01 -3.137915e-01 -7.164727e-01 -#> [8,] -0.1054093 -5.739675e-02 -1.645470e-01 -3.528665e-01 1.280199e-01 -#> [9,] -0.1054093 -1.873938e-01 -6.231407e-02 8.577394e-01 -2.244443e-01 -#> [10,] -0.1054093 -1.873938e-01 -3.241442e-01 2.184005e-02 6.324441e-01 -#> [,6] [,7] [,8] [,9] [,10] -#> [1,] 0.000000e+00 0.00000000 0.000000e+00 0.0000000 -0.3162278 -#> [2,] 1.850372e-17 0.00000000 -1.850372e-17 0.9428090 -0.3162278 -#> [3,] 3.890906e-02 0.05650060 7.449795e-02 -0.1178511 -0.3162278 -#> [4,] 8.337636e-02 -0.11274209 -1.075362e-01 -0.1178511 -0.3162278 -#> [5,] -2.557185e-02 -0.12385352 8.924165e-01 -0.1178511 -0.3162278 -#> [6,] 4.504285e-02 0.90473873 -6.868659e-02 -0.1178511 -0.3162278 -#> [7,] 3.591786e-01 -0.18466585 -2.640472e-01 -0.1178511 -0.3162278 -#> [8,] -7.745345e-01 -0.18466585 -2.640472e-01 -0.1178511 -0.3162278 -#> [9,] -1.967497e-01 -0.08049949 -6.868659e-02 -0.1178511 -0.3162278 -#> [10,] 4.703491e-01 -0.27481251 -1.939106e-01 -0.1178511 -0.3162278 +#> [,1] [,2] [,3] [,4] [,5] +#> [1,] 0.9486833 0.000000e+00 0.000000000 0.000000e+00 0.000000e+00 +#> [2,] -0.1054093 9.251859e-18 0.000000000 -9.251859e-18 1.850372e-17 +#> [3,] -0.1054093 -9.316303e-02 0.079217213 -5.526928e-02 -5.860537e-02 +#> [4,] -0.1054093 9.295069e-01 0.020878444 -5.681485e-02 2.420873e-02 +#> [5,] -0.1054093 -1.772059e-01 -0.072634120 -1.521102e-01 1.990548e-02 +#> [6,] -0.1054093 -1.772059e-01 0.014765896 3.109043e-01 1.456789e-01 +#> [7,] -0.1054093 -1.246177e-01 0.008447773 6.043444e-02 8.117572e-01 +#> [8,] -0.1054093 -6.376015e-02 -0.659513765 4.360577e-01 -3.697494e-01 +#> [9,] -0.1054093 -1.772059e-01 -0.124196522 -7.876367e-01 -2.016864e-01 +#> [10,] -0.1054093 -1.163484e-01 0.733035080 2.444346e-01 -3.715091e-01 +#> [,6] [,7] [,8] [,9] [,10] +#> [1,] 0.000000e+00 0.00000000 0.0000000 0.000000e+00 -0.3162278 +#> [2,] 9.251859e-18 0.00000000 0.9428090 6.476301e-17 -0.3162278 +#> [3,] 3.877514e-02 0.07938499 -0.1178511 9.196470e-01 -0.3162278 +#> [4,] 2.633343e-02 0.05841931 -0.1178511 -5.158318e-02 -0.3162278 +#> [5,] 8.820081e-01 -0.01683834 -0.1178511 -1.912244e-01 -0.3162278 +#> [6,] -1.516578e-01 0.81604496 -0.1178511 -1.912244e-01 -0.3162278 +#> [7,] -1.927091e-01 -0.39623153 -0.1178511 -5.158318e-02 -0.3162278 +#> [8,] -1.420878e-01 -0.29370999 -0.1178511 -5.158318e-02 -0.3162278 +#> [9,] -3.596255e-01 0.03503021 -0.1178511 -1.912244e-01 -0.3162278 +#> [10,] -1.010365e-01 -0.28209962 -0.1178511 -1.912244e-01 -0.3162278 #> ## First three eigenvalues of the adjacency matrix of a graph diff --git a/reference/articulation_points.html b/reference/articulation_points.html index 02278cce50..164367c07c 100644 --- a/reference/articulation_points.html +++ b/reference/articulation_points.html @@ -122,12 +122,12 @@

Examplesclu <- components(g)$membership g <- add_edges(g, c(match(1, clu), match(2, clu))) articulation_points(g) -#> + 2/10 vertices, from 2465556: +#> + 2/10 vertices, from e3265c9: #> [1] 6 1 g <- make_graph("krackhardt_kite") bridges(g) -#> + 2/18 edges from bab5b53: +#> + 2/18 edges from a684d69: #> [1] 9--10 8-- 9

diff --git a/reference/as.directed.html b/reference/as.directed.html index 401f9afd67..9936174f40 100644 --- a/reference/as.directed.html +++ b/reference/as.directed.html @@ -187,16 +187,16 @@

Examples

 g <- make_ring(10)
 as.directed(g, "mutual")
-#> IGRAPH 29c1de4 D--- 10 20 -- Ring graph
+#> IGRAPH d3c0ee4 D--- 10 20 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from 29c1de4:
+#> + edges from d3c0ee4:
 #>  [1]  1-> 2  2-> 3  3-> 4  4-> 5  5-> 6  6-> 7  7-> 8  8-> 9  9->10  1->10
 #> [11]  2-> 1  3-> 2  4-> 3  5-> 4  6-> 5  7-> 6  8-> 7  9-> 8 10-> 9 10-> 1
 g2 <- make_star(10)
 as.undirected(g)
-#> IGRAPH d6ed77d U--- 10 10 -- Ring graph
+#> IGRAPH 58dfd4a U--- 10 10 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from d6ed77d:
+#> + edges from 58dfd4a:
 #>  [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10
 
 # Combining edge attributes
@@ -204,9 +204,9 @@ 

ExamplesE(g3)$weight <- seq_len(ecount(g3)) ug3 <- as.undirected(g3) print(ug3, e = TRUE) -#> IGRAPH c611d39 U-W- 10 10 -- Ring graph +#> IGRAPH 06619b8 U-W- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), weight (e/n) -#> + edges from c611d39: +#> + edges from 06619b8: #> [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 1--10 9--10 if (FALSE) { x11(width = 10, height = 5) @@ -226,9 +226,9 @@

Examples edge.attr.comb = list(weight = length) ) print(ug4, e = TRUE) -#> IGRAPH abc1f03 U-W- 10 7 -- +#> IGRAPH 4afba89 U-W- 10 7 -- #> + attr: weight (e/n) -#> + edges from abc1f03: +#> + edges from 4afba89: #> [1] 6-- 7 7-- 8 8-- 9 8-- 9 9-- 9 10--10 10--10

diff --git a/reference/as.igraph.html b/reference/as.igraph.html index 1af229a324..9ff718eefd 100644 --- a/reference/as.igraph.html +++ b/reference/as.igraph.html @@ -103,9 +103,9 @@

Examplesg <- make_full_graph(5) + make_full_graph(5) hrg <- fit_hrg(g) as.igraph(hrg) -#> IGRAPH 877b9ad DN-- 19 18 -- Fitted HRG +#> IGRAPH 4544695 DN-- 19 18 -- Fitted HRG #> + attr: name (g/c), name (v/c), prob (v/n) -#> + edges from 877b9ad (vertex names): +#> + edges from 4544695 (vertex names): #> [1] g1->g4 g2->1 g3->2 g4->g6 g5->8 g6->g2 g7->g9 g8->6 g9->7 g1->g8 #> [11] g2->g3 g3->4 g4->3 g5->9 g6->5 g7->g5 g8->g7 g9->10 diff --git a/reference/as_adj_list.html b/reference/as_adj_list.html index f2921ba86d..cfee5e570c 100644 --- a/reference/as_adj_list.html +++ b/reference/as_adj_list.html @@ -164,84 +164,84 @@

Examplesg <- make_ring(10) as_adj_list(g) #> [[1]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 2 10 #> #> [[2]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 1 3 #> #> [[3]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 2 4 #> #> [[4]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 3 5 #> #> [[5]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 4 6 #> #> [[6]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 5 7 #> #> [[7]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 6 8 #> #> [[8]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 7 9 #> #> [[9]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 8 10 #> #> [[10]] -#> + 2/10 vertices, from c3becd5: +#> + 2/10 vertices, from ec51c75: #> [1] 1 9 #> as_adj_edge_list(g) #> [[1]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 1-- 2 1--10 #> #> [[2]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 1--2 2--3 #> #> [[3]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 2--3 3--4 #> #> [[4]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 3--4 4--5 #> #> [[5]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 4--5 5--6 #> #> [[6]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 5--6 6--7 #> #> [[7]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 6--7 7--8 #> #> [[8]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 7--8 8--9 #> #> [[9]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 8-- 9 9--10 #> #> [[10]] -#> + 2/10 edges from c3becd5: +#> + 2/10 edges from ec51c75: #> [1] 1--10 9--10 #> diff --git a/reference/automorphism_group.html b/reference/automorphism_group.html index 86547f76a6..15981bcae7 100644 --- a/reference/automorphism_group.html +++ b/reference/automorphism_group.html @@ -161,11 +161,11 @@

Examplesg <- make_ring(10) automorphism_group(g) #> [[1]] -#> + 10/10 vertices, from 4a30b32: +#> + 10/10 vertices, from 27ac7e7: #> [1] 1 10 9 8 7 6 5 4 3 2 #> #> [[2]] -#> + 10/10 vertices, from 4a30b32: +#> + 10/10 vertices, from 27ac7e7: #> [1] 2 3 4 5 6 7 8 9 10 1 #>

diff --git a/reference/bfs.html b/reference/bfs.html index a40471d48e..ca2dfab686 100644 --- a/reference/bfs.html +++ b/reference/bfs.html @@ -279,22 +279,22 @@

Examples#> [1] "out" #> #> $order -#> + 20/20 vertices, from e1187a0: +#> + 20/20 vertices, from 4575b60: #> [1] 1 2 10 3 9 4 8 5 7 6 11 12 20 13 19 14 18 15 17 16 #> #> $rank #> [1] 1 2 4 6 8 10 9 7 5 3 11 12 14 16 18 20 19 17 15 13 #> #> $father -#> + 20/20 vertices, from e1187a0: +#> + 20/20 vertices, from 4575b60: #> [1] NA 1 2 3 4 5 8 9 10 1 NA 11 12 13 14 15 18 19 20 11 #> #> $pred -#> + 20/20 vertices, from e1187a0: +#> + 20/20 vertices, from 4575b60: #> [1] NA 1 10 9 8 7 5 4 3 2 NA 11 20 19 18 17 15 14 13 12 #> #> $succ -#> + 20/20 vertices, from e1187a0: +#> + 20/20 vertices, from 4575b60: #> [1] 2 10 9 8 7 NA 6 5 4 3 12 20 19 18 17 NA 16 15 14 13 #> #> $dist @@ -367,7 +367,7 @@

Examples#> [1] "out" #> #> $order -#> + 20/20 vertices, from 50743a0: +#> + 20/20 vertices, from 7539ed2: #> [1] 1 2 10 3 9 4 8 5 7 6 11 12 20 13 19 14 18 15 17 16 #> #> $rank diff --git a/reference/bipartite_projection.html b/reference/bipartite_projection.html index bc45cc742e..47bee56953 100644 --- a/reference/bipartite_projection.html +++ b/reference/bipartite_projection.html @@ -177,15 +177,15 @@

Examplesg2$name <- "Event network" proj2 <- bipartite_projection(g2) print(proj2[[1]], g = TRUE, e = TRUE) -#> IGRAPH 740ebde UNW- 5 8 -- Event network +#> IGRAPH 985859e UNW- 5 8 -- Event network #> + attr: name (g/c), name (v/c), weight (e/n) -#> + edges from 740ebde (vertex names): +#> + edges from 985859e (vertex names): #> [1] Alice--Bob Alice--Cecil Alice--Ethel Bob --Cecil Bob --Ethel #> [6] Cecil--Ethel Cecil--Dan Dan --Ethel print(proj2[[2]], g = TRUE, e = TRUE) -#> IGRAPH 3f9fa0a UNW- 3 3 -- Event network +#> IGRAPH 7bd01d6 UNW- 3 3 -- Event network #> + attr: name (g/c), name (v/c), weight (e/n) -#> + edges from 3f9fa0a (vertex names): +#> + edges from 7bd01d6 (vertex names): #> [1] Party --Skiing Party --Badminton Skiing--Badminton

diff --git a/reference/c.igraph.es.html b/reference/c.igraph.es.html index 56d17a2040..208a89c737 100644 --- a/reference/c.igraph.es.html +++ b/reference/c.igraph.es.html @@ -112,7 +112,7 @@

See alsoExamples

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
 c(E(g)[1], E(g)["A|B"], E(g)[1:4])
-#> + 6/10 edges from d2e4606 (vertex names):
+#> + 6/10 edges from 9fb7533 (vertex names):
 #> [1] A--B A--B A--B B--C C--D D--E
 
diff --git a/reference/c.igraph.vs.html b/reference/c.igraph.vs.html index 7fb6618503..0ffc7b15bd 100644 --- a/reference/c.igraph.vs.html +++ b/reference/c.igraph.vs.html @@ -112,7 +112,7 @@

See alsoExamples

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
 c(V(g)[1], V(g)["A"], V(g)[1:4])
-#> + 6/10 vertices, named, from 71e91fa:
+#> + 6/10 vertices, named, from 92b061b:
 #> [1] A A A B C D
 
diff --git a/reference/cliques.html b/reference/cliques.html index 60a29ade3b..8fde8d395d 100644 --- a/reference/cliques.html +++ b/reference/cliques.html @@ -179,68 +179,68 @@

Examples#> [1] 6 cliques(g, min = 6) #> [[1]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 8 17 34 87 94 100 #> #> [[2]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 8 17 22 34 87 94 #> #> [[3]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 26 31 58 61 63 94 #> #> [[4]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 8 17 22 34 52 64 #> #> [[5]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 8 17 22 34 64 94 #> #> [[6]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 41 54 56 66 78 81 #> #> [[7]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 10 11 12 25 95 99 #> #> [[8]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 16 32 46 60 74 77 #> largest_cliques(g) #> [[1]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 12 99 10 25 95 11 #> #> [[2]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 16 60 46 77 32 74 #> #> [[3]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 17 100 87 34 94 8 #> #> [[4]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 17 64 52 8 22 34 #> #> [[5]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 17 64 94 34 8 22 #> #> [[6]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 17 34 87 94 8 22 #> #> [[7]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 26 58 94 63 31 61 #> #> [[8]] -#> + 6/100 vertices, from 5889c88: +#> + 6/100 vertices, from 9bf0331: #> [1] 41 81 66 54 78 56 #> @@ -248,563 +248,563 @@

Examplesg <- sample_gnp(100, 0.03) max_cliques(g) #> [[1]] -#> + 1/100 vertex, from 1cef392: +#> + 1/100 vertex, from 9d22339: #> [1] 65 #> #> [[2]] -#> + 1/100 vertex, from 1cef392: +#> + 1/100 vertex, from 9d22339: #> [1] 7 #> #> [[3]] -#> + 1/100 vertex, from 1cef392: +#> + 1/100 vertex, from 9d22339: #> [1] 47 #> #> [[4]] -#> + 1/100 vertex, from 1cef392: +#> + 1/100 vertex, from 9d22339: #> [1] 29 #> #> [[5]] -#> + 1/100 vertex, from 1cef392: +#> + 1/100 vertex, from 9d22339: #> [1] 27 #> #> [[6]] -#> + 1/100 vertex, from 1cef392: +#> + 1/100 vertex, from 9d22339: #> [1] 14 #> #> [[7]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 21 73 #> #> [[8]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 21 42 #> #> [[9]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 51 85 #> #> [[10]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 52 6 #> #> [[11]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 34 61 #> #> [[12]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 15 28 #> #> [[13]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 82 72 #> #> [[14]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 36 58 #> #> [[15]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 56 57 #> #> [[16]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 56 25 #> #> [[17]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 9 66 #> #> [[18]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 9 32 #> #> [[19]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 24 55 #> #> [[20]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 12 64 #> #> [[21]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 63 53 #> #> [[22]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 92 100 #> #> [[23]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 94 70 #> #> [[24]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 43 88 #> #> [[25]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 99 50 #> #> [[26]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 19 46 #> #> [[27]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 100 49 #> #> [[28]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 46 39 #> #> [[29]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 72 62 #> #> [[30]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 74 31 #> #> [[31]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 50 95 #> #> [[32]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 50 91 #> #> [[33]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 50 87 #> #> [[34]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 53 60 #> #> [[35]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 53 8 #> #> [[36]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 54 70 #> #> [[37]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 54 10 #> #> [[38]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 55 68 #> #> [[39]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 55 8 #> #> [[40]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 58 98 #> #> [[41]] -#> + 3/100 vertices, from 1cef392: +#> + 3/100 vertices, from 9d22339: #> [1] 58 35 81 #> #> [[42]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 59 39 #> #> [[43]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 59 30 #> #> [[44]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 60 78 #> #> [[45]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 60 69 #> #> [[46]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 62 77 #> #> [[47]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 62 33 #> #> [[48]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 62 16 #> #> [[49]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 64 71 #> #> [[50]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 64 10 #> #> [[51]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 66 83 #> #> [[52]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 66 78 #> #> [[53]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 66 71 #> #> [[54]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 66 26 #> #> [[55]] -#> + 3/100 vertices, from 1cef392: +#> + 3/100 vertices, from 9d22339: #> [1] 66 22 91 #> #> [[56]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 66 5 #> #> [[57]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 67 91 #> #> [[58]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 67 84 #> #> [[59]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 67 3 #> #> [[60]] -#> + 3/100 vertices, from 1cef392: +#> + 3/100 vertices, from 9d22339: #> [1] 67 1 28 #> #> [[61]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 68 87 #> #> [[62]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 68 42 #> #> [[63]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 68 17 #> #> [[64]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 68 3 #> #> [[65]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 69 10 #> #> [[66]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 70 84 #> #> [[67]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 70 81 #> #> [[68]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 70 42 #> #> [[69]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 70 39 #> #> [[70]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 75 93 #> #> [[71]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 75 90 #> #> [[72]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 75 84 #> #> [[73]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 75 83 #> #> [[74]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 75 23 #> #> [[75]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 75 6 #> #> [[76]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 76 98 #> #> [[77]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 76 97 #> #> [[78]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 76 40 #> #> [[79]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 76 11 #> #> [[80]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 76 5 #> #> [[81]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 77 84 #> #> [[82]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 77 20 #> #> [[83]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 78 40 #> #> [[84]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 78 6 #> #> [[85]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 79 95 #> #> [[86]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 79 85 #> #> [[87]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 79 48 #> #> [[88]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 79 39 #> #> [[89]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 79 31 #> #> [[90]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 80 33 #> #> [[91]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 80 17 #> #> [[92]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 81 31 #> #> [[93]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 83 13 #> #> [[94]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 84 96 #> #> [[95]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 85 44 #> #> [[96]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 86 37 #> #> [[97]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 86 28 #> #> [[98]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 86 6 #> #> [[99]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 86 2 #> #> [[100]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 87 98 #> #> [[101]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 87 28 #> #> [[102]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 1 48 #> #> [[103]] -#> + 3/100 vertices, from 1cef392: +#> + 3/100 vertices, from 9d22339: #> [1] 1 18 28 #> #> [[104]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 1 17 #> #> [[105]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 89 38 #> #> [[106]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 89 3 #> #> [[107]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 90 45 #> #> [[108]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 91 41 #> #> [[109]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 91 39 #> #> [[110]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 93 48 #> #> [[111]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 93 40 #> #> [[112]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 93 30 #> #> [[113]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 96 97 #> #> [[114]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 96 11 #> #> [[115]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 98 41 #> #> [[116]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 88 44 #> #> [[117]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 88 38 #> #> [[118]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 88 20 #> #> [[119]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 88 17 #> #> [[120]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 2 33 #> #> [[121]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 2 8 #> #> [[122]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 3 26 #> #> [[123]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 3 16 #> #> [[124]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 4 33 #> #> [[125]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 4 28 #> #> [[126]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 5 48 #> #> [[127]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 5 42 #> #> [[128]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 5 28 #> #> [[129]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 6 10 #> #> [[130]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 8 28 #> #> [[131]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 8 11 #> #> [[132]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 11 49 #> #> [[133]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 11 23 #> #> [[134]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 13 48 #> #> [[135]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 16 48 #> #> [[136]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 20 37 #> #> [[137]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 26 48 #> #> [[138]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 26 45 #> #> [[139]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 31 42 #> #> [[140]] -#> + 2/100 vertices, from 1cef392: +#> + 2/100 vertices, from 9d22339: #> [1] 35 49 #>

diff --git a/reference/cohesive_blocks.html b/reference/cohesive_blocks.html index 8810de6c0e..02b585058c 100644 --- a/reference/cohesive_blocks.html +++ b/reference/cohesive_blocks.html @@ -336,23 +336,23 @@

Examples#> '- B-5 c 3, n 4 ......o.oo o......... ... blocks(mwBlocks) #> [[1]] -#> + 23/23 vertices, named, from 66fa2ad: +#> + 23/23 vertices, named, from ae94916: #> [1] 1 2 3 4 5 6 7 21 8 11 14 19 9 10 12 13 16 15 17 18 20 22 23 #> #> [[2]] -#> + 14/23 vertices, named, from 66fa2ad: +#> + 14/23 vertices, named, from ae94916: #> [1] 1 2 3 4 5 6 7 21 19 17 18 20 22 23 #> #> [[3]] -#> + 10/23 vertices, named, from 66fa2ad: +#> + 10/23 vertices, named, from ae94916: #> [1] 7 8 11 14 9 10 12 13 16 15 #> #> [[4]] -#> + 7/23 vertices, named, from 66fa2ad: +#> + 7/23 vertices, named, from ae94916: #> [1] 1 2 3 4 5 6 7 #> #> [[5]] -#> + 4/23 vertices, named, from 66fa2ad: +#> + 4/23 vertices, named, from ae94916: #> [1] 7 8 11 14 #> cohesion(mwBlocks) diff --git a/reference/complementer.html b/reference/complementer.html index 2da717e074..e8fe74e80f 100644 --- a/reference/complementer.html +++ b/reference/complementer.html @@ -134,9 +134,9 @@

Examples## Complementer of a ring g <- make_ring(10) complementer(g) -#> IGRAPH 60e0069 U--- 10 35 -- Ring graph +#> IGRAPH 8e41bb4 U--- 10 35 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l) -#> + edges from 60e0069: +#> + edges from 8e41bb4: #> [1] 1-- 9 1-- 8 1-- 7 1-- 6 1-- 5 1-- 4 1-- 3 2--10 2-- 9 2-- 8 2-- 7 2-- 6 #> [13] 2-- 5 2-- 4 3--10 3-- 9 3-- 8 3-- 7 3-- 6 3-- 5 4--10 4-- 9 4-- 8 4-- 7 #> [25] 4-- 6 5--10 5-- 9 5-- 8 5-- 7 6--10 6-- 9 6-- 8 7--10 7-- 9 8--10 @@ -146,10 +146,10 @@

Examplesgc <- complementer(g) gu <- union(g, gc) gu -#> IGRAPH c91732e U--- 10 45 -- +#> IGRAPH 8d348b8 U--- 10 45 -- #> + attr: name_1 (g/c), name_2 (g/c), mutual_1 (g/l), mutual_2 (g/l), #> | circular_1 (g/l), circular_2 (g/l) -#> + edges from c91732e: +#> + edges from 8d348b8: #> [1] 9--10 8--10 8-- 9 7--10 7-- 9 7-- 8 6--10 6-- 9 6-- 8 6-- 7 5--10 5-- 9 #> [13] 5-- 8 5-- 7 5-- 6 4--10 4-- 9 4-- 8 4-- 7 4-- 6 4-- 5 3--10 3-- 9 3-- 8 #> [25] 3-- 7 3-- 6 3-- 5 3-- 4 2--10 2-- 9 2-- 8 2-- 7 2-- 6 2-- 5 2-- 4 2-- 3 diff --git a/reference/components.html b/reference/components.html index 91db65be67..0b4ff5b54d 100644 --- a/reference/components.html +++ b/reference/components.html @@ -237,9 +237,9 @@

Examples#> [1] 20 #> largest_component(g) -#> IGRAPH 24c2fa3 U--- 6 5 -- Erdos-Renyi (gnp) graph +#> IGRAPH 5f480cf U--- 6 5 -- Erdos-Renyi (gnp) graph #> + attr: name (g/c), type (g/c), loops (g/l), p (g/n) -#> + edges from 24c2fa3: +#> + edges from 5f480cf: #> [1] 1--3 1--5 2--5 4--5 3--6

diff --git a/reference/compose.html b/reference/compose.html index 23afa4fcdb..936a4db11b 100644 --- a/reference/compose.html +++ b/reference/compose.html @@ -163,7 +163,7 @@

Examplesg2 <- make_star(10, mode = "undirected") gc <- compose(g1, g2) print_all(gc) -#> IGRAPH 03e4673 U--- 10 36 -- +#> IGRAPH 60bcc7a U--- 10 36 -- #> + attr: name_1 (g/c), name_2 (g/c), mutual (g/l), circular (g/l), mode #> | (g/c), center (g/n) #> + edges: @@ -178,7 +178,7 @@

Examples#> 9 -- 1 1 2 10 #> 10 -- 1 2 2 3 4 5 6 7 8 9 10 10 print_all(simplify(gc)) -#> IGRAPH e3f0e9b U--- 10 24 -- +#> IGRAPH 78ef1de U--- 10 24 -- #> + attr: name_1 (g/c), name_2 (g/c), mutual (g/l), circular (g/l), mode #> | (g/c), center (g/n) #> + edges: diff --git a/reference/contract.html b/reference/contract.html index 03230af642..33907bb51f 100644 --- a/reference/contract.html +++ b/reference/contract.html @@ -148,10 +148,10 @@

Examples## graph and edge attributes are kept, vertex attributes are ## combined using the 'toString' function. print(g2, g = TRUE, v = TRUE, e = TRUE) -#> IGRAPH 8ed3cd7 UNW- 5 10 -- Ring +#> IGRAPH 90f0419 UNW- 5 10 -- Ring #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c), weight #> | (e/n) -#> + edges from 8ed3cd7 (vertex names): +#> + edges from 90f0419 (vertex names): #> [1] a, b--a, b a, b--c, d c, d--c, d c, d--e, f e, f--e, f e, f--g, h #> [7] g, h--g, h g, h--i, j i, j--i, j a, b--i, j diff --git a/reference/delete_edges.html b/reference/delete_edges.html index 3057704824..8aa0183475 100644 --- a/reference/delete_edges.html +++ b/reference/delete_edges.html @@ -121,25 +121,25 @@

Examples
g <- make_ring(10) %>%
   delete_edges(seq(1, 9, by = 2))
 g
-#> IGRAPH 7ec1f54 U--- 10 5 -- Ring graph
+#> IGRAPH 9d9dcb8 U--- 10 5 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from 7ec1f54:
+#> + edges from 9d9dcb8:
 #> [1] 2-- 3 4-- 5 6-- 7 8-- 9 1--10
 
 g <- make_ring(10) %>%
   delete_edges("10|1")
 g
-#> IGRAPH 8c18f53 U--- 10 9 -- Ring graph
+#> IGRAPH df6dff9 U--- 10 9 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from 8c18f53:
+#> + edges from df6dff9:
 #> [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10
 
 g <- make_ring(5)
 g <- delete_edges(g, get.edge.ids(g, c(1, 5, 4, 5)))
 g
-#> IGRAPH 2e06a2a U--- 5 3 -- Ring graph
+#> IGRAPH e0f132e U--- 5 3 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from 2e06a2a:
+#> + edges from e0f132e:
 #> [1] 1--2 2--3 3--4
 
diff --git a/reference/delete_vertices.html b/reference/delete_vertices.html index fccabe486b..67887f73c5 100644 --- a/reference/delete_vertices.html +++ b/reference/delete_vertices.html @@ -118,23 +118,23 @@

Examples
g <- make_ring(10) %>%
   set_vertex_attr("name", value = LETTERS[1:10])
 g
-#> IGRAPH 8e5a28b UN-- 10 10 -- Ring graph
+#> IGRAPH 35fd05e UN-- 10 10 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c)
-#> + edges from 8e5a28b (vertex names):
+#> + edges from 35fd05e (vertex names):
 #>  [1] A--B B--C C--D D--E E--F F--G G--H H--I I--J A--J
 V(g)
-#> + 10/10 vertices, named, from 8e5a28b:
+#> + 10/10 vertices, named, from 35fd05e:
 #>  [1] A B C D E F G H I J
 
 g2 <- delete_vertices(g, c(1, 5)) %>%
   delete_vertices("B")
 g2
-#> IGRAPH decf427 UN-- 7 5 -- Ring graph
+#> IGRAPH 15e6ac2 UN-- 7 5 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c)
-#> + edges from decf427 (vertex names):
+#> + edges from 15e6ac2 (vertex names):
 #> [1] C--D F--G G--H H--I I--J
 V(g2)
-#> + 7/7 vertices, named, from decf427:
+#> + 7/7 vertices, named, from 15e6ac2:
 #> [1] C D F G H I J
 
diff --git a/reference/dfs.html b/reference/dfs.html index 18b1606d99..a2420418e0 100644 --- a/reference/dfs.html +++ b/reference/dfs.html @@ -250,15 +250,15 @@

Examples#> [1] "out" #> #> $order -#> + 20/20 vertices, from 56a0850: +#> + 20/20 vertices, from 4c8a1e9: #> [1] 1 2 4 8 9 5 10 3 6 7 11 12 14 18 19 15 20 13 16 17 #> #> $order.out -#> + 20/20 vertices, from 56a0850: +#> + 20/20 vertices, from 4c8a1e9: #> [1] 8 9 4 10 5 2 6 7 3 1 18 19 14 20 15 12 16 17 13 11 #> #> $father -#> + 20/20 vertices, from 56a0850: +#> + 20/20 vertices, from 4c8a1e9: #> [1] NA 1 1 2 2 3 3 4 4 5 NA 11 11 12 12 13 13 14 14 15 #> #> $dist diff --git a/reference/diameter.html b/reference/diameter.html index 4ba36900ea..7abe912e01 100644 --- a/reference/diameter.html +++ b/reference/diameter.html @@ -143,12 +143,12 @@

Examplesdiameter(g) #> [1] 27 get_diameter(g) -#> + 5/10 vertices, from 9e9054d: +#> + 5/10 vertices, from c922b52: #> [1] 1 10 9 8 7 diameter(g, weights = NA) #> [1] 5 get_diameter(g, weights = NA) -#> + 6/10 vertices, from 9e9054d: +#> + 6/10 vertices, from c922b52: #> [1] 1 2 3 4 5 6

diff --git a/reference/difference.igraph.es.html b/reference/difference.igraph.es.html index a9277d2a82..752a8d660d 100644 --- a/reference/difference.igraph.es.html +++ b/reference/difference.igraph.es.html @@ -121,7 +121,7 @@

See alsoExamples

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
 difference(V(g), V(g)[6:10])
-#> + 5/10 vertices, named, from c41995d:
+#> + 5/10 vertices, named, from 66aa783:
 #> [1] A B C D E
 
diff --git a/reference/difference.igraph.html b/reference/difference.igraph.html index da3fe6e6d5..7f095c97e5 100644 --- a/reference/difference.igraph.html +++ b/reference/difference.igraph.html @@ -160,7 +160,7 @@

ExamplesV(sstar)$name <- letters[c(1, 3, 5, 7, 9, 11)] G <- wheel %m% sstar print_all(G) -#> IGRAPH 081063e UN-- 11 15 -- +#> IGRAPH f7f3a4e UN-- 11 15 -- #> + attr: name_1 (g/c), name_2 (g/c), mutual (g/l), circular (g/l), mode #> | (g/c), center (g/n), name (v/c) #> + edges (vertex names): diff --git a/reference/difference.igraph.vs.html b/reference/difference.igraph.vs.html index a0cfd4fbdb..9cae7097cd 100644 --- a/reference/difference.igraph.vs.html +++ b/reference/difference.igraph.vs.html @@ -121,7 +121,7 @@

See alsoExamples

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
 difference(V(g), V(g)[6:10])
-#> + 5/10 vertices, named, from c1d5fd6:
+#> + 5/10 vertices, named, from 6862d92:
 #> [1] A B C D E
 
diff --git a/reference/disjoint_union.html b/reference/disjoint_union.html index d0117ae0a2..3c65a6258c 100644 --- a/reference/disjoint_union.html +++ b/reference/disjoint_union.html @@ -149,10 +149,10 @@

Examplesg2 <- make_ring(10) V(g2)$name <- letters[11:20] print_all(g1 %du% g2) -#> IGRAPH 32750f7 UN-- 20 19 -- +#> IGRAPH 3928c7a UN-- 20 19 -- #> + attr: name_1 (g/c), name_2 (g/c), mode (g/c), center (g/n), mutual #> | (g/l), circular (g/l), name (v/c) -#> + edges from 32750f7 (vertex names): +#> + edges from 3928c7a (vertex names): #> [1] a--b a--c a--d a--e a--f a--g a--h a--i a--j k--l l--m m--n n--o o--p p--q #> [16] q--r r--s s--t k--t

diff --git a/reference/distances.html b/reference/distances.html index 46ee1a8e36..7c22cd523a 100644 --- a/reference/distances.html +++ b/reference/distances.html @@ -443,43 +443,43 @@

Examplesshortest_paths(g, 5) #> $vpath #> $vpath[[1]] -#> + 5/10 vertices, from ab17b7f: +#> + 5/10 vertices, from d5a9363: #> [1] 5 4 3 2 1 #> #> $vpath[[2]] -#> + 4/10 vertices, from ab17b7f: +#> + 4/10 vertices, from d5a9363: #> [1] 5 4 3 2 #> #> $vpath[[3]] -#> + 3/10 vertices, from ab17b7f: +#> + 3/10 vertices, from d5a9363: #> [1] 5 4 3 #> #> $vpath[[4]] -#> + 2/10 vertices, from ab17b7f: +#> + 2/10 vertices, from d5a9363: #> [1] 5 4 #> #> $vpath[[5]] -#> + 1/10 vertex, from ab17b7f: +#> + 1/10 vertex, from d5a9363: #> [1] 5 #> #> $vpath[[6]] -#> + 2/10 vertices, from ab17b7f: +#> + 2/10 vertices, from d5a9363: #> [1] 5 6 #> #> $vpath[[7]] -#> + 3/10 vertices, from ab17b7f: +#> + 3/10 vertices, from d5a9363: #> [1] 5 6 7 #> #> $vpath[[8]] -#> + 4/10 vertices, from ab17b7f: +#> + 4/10 vertices, from d5a9363: #> [1] 5 6 7 8 #> #> $vpath[[9]] -#> + 5/10 vertices, from ab17b7f: +#> + 5/10 vertices, from d5a9363: #> [1] 5 6 7 8 9 #> #> $vpath[[10]] -#> + 6/10 vertices, from ab17b7f: +#> + 6/10 vertices, from d5a9363: #> [1] 5 4 3 2 1 10 #> #> @@ -495,19 +495,19 @@

Examplesall_shortest_paths(g, 1, 6:8) #> $res #> $res[[1]] -#> + 6/10 vertices, from ab17b7f: +#> + 6/10 vertices, from d5a9363: #> [1] 1 10 9 8 7 6 #> #> $res[[2]] -#> + 6/10 vertices, from ab17b7f: +#> + 6/10 vertices, from d5a9363: #> [1] 1 2 3 4 5 6 #> #> $res[[3]] -#> + 5/10 vertices, from ab17b7f: +#> + 5/10 vertices, from d5a9363: #> [1] 1 10 9 8 7 #> #> $res[[4]] -#> + 4/10 vertices, from ab17b7f: +#> + 4/10 vertices, from d5a9363: #> [1] 1 10 9 8 #> #> @@ -516,19 +516,19 @@

Examples#> #> $vpaths #> $vpaths[[1]] -#> + 6/10 vertices, from ab17b7f: +#> + 6/10 vertices, from d5a9363: #> [1] 1 10 9 8 7 6 #> #> $vpaths[[2]] -#> + 6/10 vertices, from ab17b7f: +#> + 6/10 vertices, from d5a9363: #> [1] 1 2 3 4 5 6 #> #> $vpaths[[3]] -#> + 5/10 vertices, from ab17b7f: +#> + 5/10 vertices, from d5a9363: #> [1] 1 10 9 8 7 #> #> $vpaths[[4]] -#> + 4/10 vertices, from ab17b7f: +#> + 4/10 vertices, from d5a9363: #> [1] 1 10 9 8 #> #> diff --git a/reference/edge.html b/reference/edge.html index 1153b25369..7b968eede4 100644 --- a/reference/edge.html +++ b/reference/edge.html @@ -161,7 +161,7 @@

Examples edge("8|9") E(g)[[]] -#> + 11/11 edges from 6f13f42: +#> + 11/11 edges from c73dfe1: #> tail head tid hid color #> 1 1 2 1 2 red #> 2 2 3 2 3 red diff --git a/reference/edge_attr-set.html b/reference/edge_attr-set.html index 812c593f75..9ae4a30ead 100644 --- a/reference/edge_attr-set.html +++ b/reference/edge_attr-set.html @@ -128,10 +128,10 @@

Examples) edge_attr(g, "label") <- E(g)$name g -#> IGRAPH 8fb8245 U--- 10 10 -- Ring graph +#> IGRAPH e33ba55 U--- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (e/c), color #> | (e/c), label (e/c) -#> + edges from 8fb8245: +#> + edges from e33ba55: #> [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10 plot(g) diff --git a/reference/edge_attr.html b/reference/edge_attr.html index 481aff45ae..72e4680f47 100644 --- a/reference/edge_attr.html +++ b/reference/edge_attr.html @@ -120,10 +120,10 @@

Examples set_edge_attr("weight", value = 1:10) %>% set_edge_attr("color", value = "red") g -#> IGRAPH afa4ada U-W- 10 10 -- Ring graph +#> IGRAPH d8f41ab U-W- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), weight (e/n), color #> | (e/c) -#> + edges from afa4ada: +#> + edges from d8f41ab: #> [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10 plot(g, edge.width = E(g)$weight) diff --git a/reference/ego.html b/reference/ego.html index a44a4d34c0..b3f848cfb4 100644 --- a/reference/ego.html +++ b/reference/ego.html @@ -276,81 +276,81 @@

Examples#> [1] 5 5 5 ego(g, order = 0, 1:3) #> [[1]] -#> + 1/10 vertex, from 64440d3: +#> + 1/10 vertex, from 61fd8cc: #> [1] 1 #> #> [[2]] -#> + 1/10 vertex, from 64440d3: +#> + 1/10 vertex, from 61fd8cc: #> [1] 2 #> #> [[3]] -#> + 1/10 vertex, from 64440d3: +#> + 1/10 vertex, from 61fd8cc: #> [1] 3 #> ego(g, order = 1, 1:3) #> [[1]] -#> + 3/10 vertices, from 64440d3: +#> + 3/10 vertices, from 61fd8cc: #> [1] 1 2 10 #> #> [[2]] -#> + 3/10 vertices, from 64440d3: +#> + 3/10 vertices, from 61fd8cc: #> [1] 2 1 3 #> #> [[3]] -#> + 3/10 vertices, from 64440d3: +#> + 3/10 vertices, from 61fd8cc: #> [1] 3 2 4 #> ego(g, order = 2, 1:3) #> [[1]] -#> + 5/10 vertices, from 64440d3: +#> + 5/10 vertices, from 61fd8cc: #> [1] 1 2 10 3 9 #> #> [[2]] -#> + 5/10 vertices, from 64440d3: +#> + 5/10 vertices, from 61fd8cc: #> [1] 2 1 3 10 4 #> #> [[3]] -#> + 5/10 vertices, from 64440d3: +#> + 5/10 vertices, from 61fd8cc: #> [1] 3 2 4 1 5 #> # neighborhood() is an alias of ego() neighborhood(g, order = 0, 1:3) #> [[1]] -#> + 1/10 vertex, from 64440d3: +#> + 1/10 vertex, from 61fd8cc: #> [1] 1 #> #> [[2]] -#> + 1/10 vertex, from 64440d3: +#> + 1/10 vertex, from 61fd8cc: #> [1] 2 #> #> [[3]] -#> + 1/10 vertex, from 64440d3: +#> + 1/10 vertex, from 61fd8cc: #> [1] 3 #> neighborhood(g, order = 1, 1:3) #> [[1]] -#> + 3/10 vertices, from 64440d3: +#> + 3/10 vertices, from 61fd8cc: #> [1] 1 2 10 #> #> [[2]] -#> + 3/10 vertices, from 64440d3: +#> + 3/10 vertices, from 61fd8cc: #> [1] 2 1 3 #> #> [[3]] -#> + 3/10 vertices, from 64440d3: +#> + 3/10 vertices, from 61fd8cc: #> [1] 3 2 4 #> neighborhood(g, order = 2, 1:3) #> [[1]] -#> + 5/10 vertices, from 64440d3: +#> + 5/10 vertices, from 61fd8cc: #> [1] 1 2 10 3 9 #> #> [[2]] -#> + 5/10 vertices, from 64440d3: +#> + 5/10 vertices, from 61fd8cc: #> [1] 2 1 3 10 4 #> #> [[3]] -#> + 5/10 vertices, from 64440d3: +#> + 5/10 vertices, from 61fd8cc: #> [1] 3 2 4 1 5 #> @@ -358,21 +358,21 @@

ExamplesV(g)$name <- c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j") make_ego_graph(g, order = 2, 1:3) #> [[1]] -#> IGRAPH 904d1bf UN-- 5 4 -- Ring graph +#> IGRAPH de5ee34 UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from 904d1bf (vertex names): +#> + edges from de5ee34 (vertex names): #> [1] a--b b--c a--j i--j #> #> [[2]] -#> IGRAPH 2061dc3 UN-- 5 4 -- Ring graph +#> IGRAPH b1fb91f UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from 2061dc3 (vertex names): +#> + edges from b1fb91f (vertex names): #> [1] a--b b--c c--d a--j #> #> [[3]] -#> IGRAPH 1070def UN-- 5 4 -- Ring graph +#> IGRAPH c4ea029 UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from 1070def (vertex names): +#> + edges from c4ea029 (vertex names): #> [1] a--b b--c c--d d--e #> diff --git a/reference/feedback_arc_set.html b/reference/feedback_arc_set.html index 40f1374ece..2736a51629 100644 --- a/reference/feedback_arc_set.html +++ b/reference/feedback_arc_set.html @@ -153,10 +153,10 @@

Examples

 g <- sample_gnm(20, 40, directed = TRUE)
 feedback_arc_set(g)
-#> + 4/40 edges from 7eeaaa3:
+#> + 4/40 edges from ed44662:
 #> [1]  6->19  8->13 14-> 8 16-> 3
 feedback_arc_set(g, algo = "approx")
-#> + 4/40 edges from 7eeaaa3:
+#> + 4/40 edges from ed44662:
 #> [1]  6->19  8->13 14-> 8 16-> 3
 
diff --git a/reference/get.edge.ids.html b/reference/get.edge.ids.html index 566e04fa3d..6875962cd9 100644 --- a/reference/get.edge.ids.html +++ b/reference/get.edge.ids.html @@ -149,7 +149,7 @@

Examplesg <- make_ring(10) ei <- get.edge.ids(g, c(1, 2, 4, 5)) E(g)[ei] -#> + 2/10 edges from 9d9c180: +#> + 2/10 edges from c7eda91: #> [1] 1--2 4--5 ## non-existant edge @@ -164,7 +164,7 @@

Exampleseis #> [1] 5 5 E(g)[eis] -#> + 2/5 edges from 88d2f49: +#> + 2/5 edges from d600420: #> [1] 1->2 1->2 ## multi = TRUE, as many different edges, if any, @@ -173,7 +173,7 @@

Exampleseim #> [1] 5 4 3 E(g)[eim] -#> + 3/5 edges from 88d2f49: +#> + 3/5 edges from d600420: #> [1] 1->2 1->2 1->2

diff --git a/reference/girth.html b/reference/girth.html index 74f72cf4ea..85c06a2972 100644 --- a/reference/girth.html +++ b/reference/girth.html @@ -154,7 +154,7 @@

Examples#> [1] Inf #> #> $circle -#> + 0/1000 vertices, from eb783fb: +#> + 0/1000 vertices, from eaf78ea: #> # The worst case running time is for a ring @@ -164,7 +164,7 @@

Examples#> [1] 100 #> #> $circle -#> + 100/100 vertices, from 1f1f9a4: +#> + 100/100 vertices, from bdf13da: #> [1] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 #> [19] 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 #> [37] 87 88 89 90 91 92 93 94 95 96 97 98 99 100 1 2 3 4 @@ -180,7 +180,7 @@

Examples#> [1] Inf #> #> $circle -#> + 0/1000 vertices, from 5270f15: +#> + 0/1000 vertices, from c6d17ab: #>

diff --git a/reference/graph_.html b/reference/graph_.html index fa0efbda0d..d3d7ab69eb 100644 --- a/reference/graph_.html +++ b/reference/graph_.html @@ -84,12 +84,12 @@

DetailsExamples

## These are equivalent
 graph_(cbind(1:5, 2:6), from_edgelist(directed = FALSE))
-#> IGRAPH 253c0b4 U--- 6 5 -- 
-#> + edges from 253c0b4:
+#> IGRAPH 3defd00 U--- 6 5 -- 
+#> + edges from 3defd00:
 #> [1] 1--2 2--3 3--4 4--5 5--6
 graph_(cbind(1:5, 2:6), from_edgelist(), directed = FALSE)
-#> IGRAPH 1b6c3ab U--- 6 5 -- 
-#> + edges from 1b6c3ab:
+#> IGRAPH 730e2a8 U--- 6 5 -- 
+#> + edges from 730e2a8:
 #> [1] 1--2 2--3 3--4 4--5 5--6
 
diff --git a/reference/graph_attr-set.html b/reference/graph_attr-set.html index 699ef13759..4d1fdaeea6 100644 --- a/reference/graph_attr-set.html +++ b/reference/graph_attr-set.html @@ -118,9 +118,9 @@

Examples
g <- make_graph(~ A - B:C:D)
 graph_attr(g, "name") <- "4-star"
 g
-#> IGRAPH 62a7ec2 UN-- 4 3 -- 4-star
+#> IGRAPH cf77065 UN-- 4 3 -- 4-star
 #> + attr: name (g/c), name (v/c)
-#> + edges from 62a7ec2 (vertex names):
+#> + edges from cf77065 (vertex names):
 #> [1] A--B A--C A--D
 
 graph_attr(g) <- list(
diff --git a/reference/graph_from_adjacency_matrix.html b/reference/graph_from_adjacency_matrix.html
index b8f4ee39fa..83abc55726 100644
--- a/reference/graph_from_adjacency_matrix.html
+++ b/reference/graph_from_adjacency_matrix.html
@@ -277,7 +277,7 @@ 

Examplescolnames(adjm) <- seq(ncol(adjm)) g10 <- graph_from_adjacency_matrix(adjm, weighted = TRUE, add.rownames = "code") summary(g10) -#> IGRAPH d9d68df DNW- 10 58 -- +#> IGRAPH 64c2c94 DNW- 10 58 -- #> + attr: name (v/c), code (v/c), weight (e/n)

diff --git a/reference/graph_from_atlas.html b/reference/graph_from_atlas.html index 0dee4e9703..f017a58f4a 100644 --- a/reference/graph_from_atlas.html +++ b/reference/graph_from_atlas.html @@ -143,14 +143,14 @@

See alsoExamples

## Some randomly picked graphs from the atlas
 graph_from_atlas(sample(0:1252, 1))
-#> IGRAPH 4907906 U--- 7 7 -- Graph from the Atlas #303
+#> IGRAPH f07a2ee U--- 7 7 -- Graph from the Atlas #303
 #> + attr: name (g/c), n (g/n)
-#> + edges from 4907906:
+#> + edges from f07a2ee:
 #> [1] 2--5 2--4 3--4 3--5 1--3 2--3 1--7
 graph_from_atlas(sample(0:1252, 1))
-#> IGRAPH 4bd565a U--- 7 10 -- Graph from the Atlas #648
+#> IGRAPH 43ff6ad U--- 7 10 -- Graph from the Atlas #648
 #> + attr: name (g/c), n (g/n)
-#> + edges from 4bd565a:
+#> + edges from 43ff6ad:
 #>  [1] 1--2 2--3 3--4 4--5 1--5 1--6 5--6 3--6 4--6 5--7
 
diff --git a/reference/graph_from_data_frame.html b/reference/graph_from_data_frame.html index 7816d2c404..67bed8ccfb 100644 --- a/reference/graph_from_data_frame.html +++ b/reference/graph_from_data_frame.html @@ -209,10 +209,10 @@

Examples) g <- graph_from_data_frame(relations, directed = TRUE, vertices = actors) print(g, e = TRUE, v = TRUE) -#> IGRAPH 0fffe07 DN-- 5 6 -- +#> IGRAPH 46c26d1 DN-- 5 6 -- #> + attr: name (v/c), age (v/n), gender (v/c), same.dept (e/l), #> | friendship (e/n), advice (e/n) -#> + edges from 0fffe07 (vertex names): +#> + edges from 46c26d1 (vertex names): #> [1] Bob ->Alice Cecil ->Bob Cecil ->Alice David ->Alice #> [5] David ->Bob Esmeralda->Alice diff --git a/reference/graph_from_edgelist.html b/reference/graph_from_edgelist.html index 85ca33e2b8..2c3d983a7d 100644 --- a/reference/graph_from_edgelist.html +++ b/reference/graph_from_edgelist.html @@ -126,15 +126,15 @@

See alsoExamples

el <- matrix(c("foo", "bar", "bar", "foobar"), nc = 2, byrow = TRUE)
 graph_from_edgelist(el)
-#> IGRAPH 9ec92e8 DN-- 3 2 -- 
+#> IGRAPH 924ffec DN-- 3 2 -- 
 #> + attr: name (v/c)
-#> + edges from 9ec92e8 (vertex names):
+#> + edges from 924ffec (vertex names):
 #> [1] foo->bar    bar->foobar
 
 # Create a ring by hand
 graph_from_edgelist(cbind(1:10, c(2:10, 1)))
-#> IGRAPH 4daef2f D--- 10 10 -- 
-#> + edges from 4daef2f:
+#> IGRAPH 2f52660 D--- 10 10 -- 
+#> + edges from 2f52660:
 #>  [1]  1-> 2  2-> 3  3-> 4  4-> 5  5-> 6  6-> 7  7-> 8  8-> 9  9->10 10-> 1
 
diff --git a/reference/graph_from_incidence_matrix.html b/reference/graph_from_incidence_matrix.html index 7c9e0ddd37..ab90d6082a 100644 --- a/reference/graph_from_incidence_matrix.html +++ b/reference/graph_from_incidence_matrix.html @@ -168,9 +168,9 @@

Examplescolnames(inc) <- letters[1:5] rownames(inc) <- LETTERS[1:3] graph_from_incidence_matrix(inc) -#> IGRAPH 6bef932 UN-B 8 9 -- +#> IGRAPH 0468c67 UN-B 8 9 -- #> + attr: type (v/l), name (v/c) -#> + edges from 6bef932 (vertex names): +#> + edges from 0468c67 (vertex names): #> [1] A--b A--c A--d B--b B--c B--d B--e C--a C--b

diff --git a/reference/graph_from_literal.html b/reference/graph_from_literal.html index 50a389c0be..6a386d8fe0 100644 --- a/reference/graph_from_literal.html +++ b/reference/graph_from_literal.html @@ -162,18 +162,18 @@

Examples Cecil - Gordon ) g -#> IGRAPH 11468b1 UN-- 6 6 -- +#> IGRAPH 41cc0cb UN-- 6 6 -- #> + attr: name (v/c) -#> + edges from 11468b1 (vertex names): +#> + edges from 41cc0cb (vertex names): #> [1] Alice--Bob Alice--Cecil Bob --Cecil Cecil--Daniel Cecil--Eugene #> [6] Cecil--Gordon # Another undirected graph, ":" notation g2 <- graph_from_literal(Alice - Bob:Cecil:Daniel, Cecil:Daniel - Eugene:Gordon) g2 -#> IGRAPH c8001f8 UN-- 6 7 -- +#> IGRAPH 5b929dd UN-- 6 7 -- #> + attr: name (v/c) -#> + edges from c8001f8 (vertex names): +#> + edges from 5b929dd (vertex names): #> [1] Alice --Bob Alice --Cecil Alice --Daniel Cecil --Eugene Cecil --Gordon #> [6] Daniel--Eugene Daniel--Gordon @@ -183,18 +183,18 @@

Examples Eugene --+ Gordon:Helen ) g3 -#> IGRAPH c176e46 DN-- 7 6 -- +#> IGRAPH 390d16e DN-- 7 6 -- #> + attr: name (v/c) -#> + edges from c176e46 (vertex names): +#> + edges from 390d16e (vertex names): #> [1] Alice ->Bob Bob ->Alice Bob ->Cecil Daniel->Cecil Eugene->Gordon #> [6] Eugene->Helen # A graph with isolate vertices g4 <- graph_from_literal(Alice -- Bob -- Daniel, Cecil:Gordon, Helen) g4 -#> IGRAPH a0cb2aa UN-- 6 2 -- +#> IGRAPH 8590c92 UN-- 6 2 -- #> + attr: name (v/c) -#> + edges from a0cb2aa (vertex names): +#> + edges from 8590c92 (vertex names): #> [1] Alice--Bob Bob --Daniel V(g4)$name #> [1] "Alice" "Bob" "Daniel" "Cecil" "Gordon" "Helen" @@ -202,17 +202,17 @@

Examples# "Arrows" can be arbitrarily long g5 <- graph_from_literal(Alice +---------+ Bob) g5 -#> IGRAPH a321af3 DN-- 2 2 -- +#> IGRAPH 0a0b228 DN-- 2 2 -- #> + attr: name (v/c) -#> + edges from a321af3 (vertex names): +#> + edges from 0a0b228 (vertex names): #> [1] Alice->Bob Bob ->Alice # Special vertex names g6 <- graph_from_literal("+" -- "-", "*" -- "/", "%%" -- "%/%") g6 -#> IGRAPH a960476 UN-- 6 3 -- +#> IGRAPH 4c3ef7b UN-- 6 3 -- #> + attr: name (v/c) -#> + edges from a960476 (vertex names): +#> + edges from 4c3ef7b (vertex names): #> [1] + --- * --/ %%--%/%

diff --git a/reference/graph_id.html b/reference/graph_id.html index ed83ba8cdc..7eb080fe6a 100644 --- a/reference/graph_id.html +++ b/reference/graph_id.html @@ -100,15 +100,15 @@

Value

Examples

g <- make_ring(10)
 graph_id(g)
-#> [1] "1cb93080-1009-4afa-bf4e-480d32bd9578"
+#> [1] "e0cf44cf-34dc-4b90-b200-946558f630ec"
 graph_id(V(g))
-#> [1] "1cb93080-1009-4afa-bf4e-480d32bd9578"
+#> [1] "e0cf44cf-34dc-4b90-b200-946558f630ec"
 graph_id(E(g))
-#> [1] "1cb93080-1009-4afa-bf4e-480d32bd9578"
+#> [1] "e0cf44cf-34dc-4b90-b200-946558f630ec"
 
 g2 <- g + 1
 graph_id(g2)
-#> [1] "c7debd94-a012-4a1d-a62d-202e2c12949f"
+#> [1] "6fbff77a-3a0a-412d-befd-437b03cf5cb3"
 
diff --git a/reference/igraph-es-indexing.html b/reference/igraph-es-indexing.html index c8e276191e..a388c743dc 100644 --- a/reference/igraph-es-indexing.html +++ b/reference/igraph-es-indexing.html @@ -214,13 +214,13 @@

Examples# Special operators for indexing based on graph structure g <- sample_pa(100, power = 0.3) E(g)[1:3 %--% 2:6] -#> + 5/99 edges from 5b5c8db: +#> + 5/99 edges from 0aea392: #> [1] 2->1 3->2 4->1 5->1 6->1 E(g)[1:5 %->% 1:6] -#> + 4/99 edges from 5b5c8db: +#> + 4/99 edges from 0aea392: #> [1] 2->1 3->2 4->1 5->1 E(g)[1:3 %<-% 2:6] -#> + 5/99 edges from 5b5c8db: +#> + 5/99 edges from 0aea392: #> [1] 2->1 3->2 4->1 5->1 6->1 # ----------------------------------------------------------------- @@ -228,7 +228,7 @@

Examplesg <- sample_pa(100, directed = FALSE) d <- get_diameter(g) E(g, path = d) -#> + 11/99 edges from 79e051f: +#> + 11/99 edges from d651003: #> [1] 20--46 16--20 11--16 9--11 1-- 9 1-- 3 3--17 17--45 45--63 63--81 #> [11] 81--82 @@ -237,7 +237,7 @@

Examplesg <- sample_gnp(20, 3 / 20) %>% set_edge_attr("weight", value = rnorm(gsize(.))) E(g)[[weight < 0]] -#> + 16/32 edges from 1a7667d: +#> + 16/32 edges from 32affb7: #> tail head tid hid weight #> 2 3 6 3 6 -2.1691432 #> 4 3 7 3 7 -1.1377713 @@ -261,7 +261,7 @@

ExamplesE(g)$x <- E(g)$weight x <- 2 E(g)[.env$x] -#> + 1/32 edge from 1a7667d: +#> + 1/32 edge from 32affb7: #> [1] 3--6

diff --git a/reference/igraph-es-indexing2.html b/reference/igraph-es-indexing2.html index 2616318a7d..ba5e74bd37 100644 --- a/reference/igraph-es-indexing2.html +++ b/reference/igraph-es-indexing2.html @@ -137,10 +137,10 @@

Examples with_edge_(weight = 1:10, color = "green") ) E(g) -#> + 10/10 edges from b79c83c (vertex names): +#> + 10/10 edges from 7534a70 (vertex names): #> [1] A--B B--C C--D D--E E--F F--G G--H H--I I--J A--J E(g)[[]] -#> + 10/10 edges from b79c83c (vertex names): +#> + 10/10 edges from 7534a70 (vertex names): #> tail head tid hid weight color #> 1 A B 1 2 1 green #> 2 B C 2 3 2 green @@ -153,7 +153,7 @@

Examples#> 9 I J 9 10 9 green #> 10 A J 1 10 10 green E(g)[[.inc("A")]] -#> + 2/10 edges from b79c83c (vertex names): +#> + 2/10 edges from 7534a70 (vertex names): #> tail head tid hid weight color #> 1 A B 1 2 1 green #> 10 A J 1 10 10 green diff --git a/reference/igraph-vs-indexing.html b/reference/igraph-vs-indexing.html index 29664118f2..eccb7fe862 100644 --- a/reference/igraph-vs-indexing.html +++ b/reference/igraph-vs-indexing.html @@ -232,26 +232,26 @@

Examples# nei() special function g <- make_graph(c(1, 2, 2, 3, 2, 4, 4, 2)) V(g)[.nei(c(2, 4))] -#> + 4/4 vertices, from 7a1f0c4: +#> + 4/4 vertices, from 7a48c4f: #> [1] 1 2 3 4 V(g)[.nei(c(2, 4), "in")] -#> + 3/4 vertices, from 7a1f0c4: +#> + 3/4 vertices, from 7a48c4f: #> [1] 1 2 4 V(g)[.nei(c(2, 4), "out")] -#> + 3/4 vertices, from 7a1f0c4: +#> + 3/4 vertices, from 7a48c4f: #> [1] 2 3 4 # ----------------------------------------------------------------- # The same with vertex names g <- make_graph(~ A -+ B, B -+ C:D, D -+ B) V(g)[.nei(c("B", "D"))] -#> + 4/4 vertices, named, from 3765ea4: +#> + 4/4 vertices, named, from b60966a: #> [1] A B C D V(g)[.nei(c("B", "D"), "in")] -#> + 3/4 vertices, named, from 3765ea4: +#> + 3/4 vertices, named, from b60966a: #> [1] A B D V(g)[.nei(c("B", "D"), "out")] -#> + 3/4 vertices, named, from 3765ea4: +#> + 3/4 vertices, named, from b60966a: #> [1] B C D # ----------------------------------------------------------------- @@ -259,7 +259,7 @@

Examplesg <- make_graph(~ A -+ B, B -+ C:D, D -+ B) V(g)$color <- c("red", "red", "green", "green") V(g)[color == "red"] -#> + 2/4 vertices, named, from 555aa63: +#> + 2/4 vertices, named, from ea99300: #> [1] A B # Indexing with a variable whose name matches the name of an attribute @@ -267,7 +267,7 @@

ExamplesV(g)$x <- 10:13 x <- 2 V(g)[.env$x] -#> + 1/4 vertex, named, from 555aa63: +#> + 1/4 vertex, named, from ea99300: #> [1] B

diff --git a/reference/igraph-vs-indexing2.html b/reference/igraph-vs-indexing2.html index 5e77603a51..53232e99fc 100644 --- a/reference/igraph-vs-indexing2.html +++ b/reference/igraph-vs-indexing2.html @@ -135,10 +135,10 @@

Examples set_vertex_attr("color", value = "red") %>% set_vertex_attr("name", value = LETTERS[1:10]) V(g) -#> + 10/10 vertices, named, from 0b2695c: +#> + 10/10 vertices, named, from a5aa26d: #> [1] A B C D E F G H I J V(g)[[]] -#> + 10/10 vertices, named, from 0b2695c: +#> + 10/10 vertices, named, from a5aa26d: #> color name #> 1 red A #> 2 red B @@ -151,10 +151,10 @@

Examples#> 9 red I #> 10 red J V(g)[1:5] -#> + 5/10 vertices, named, from 0b2695c: +#> + 5/10 vertices, named, from a5aa26d: #> [1] A B C D E V(g)[[1:5]] -#> + 5/10 vertices, named, from 0b2695c: +#> + 5/10 vertices, named, from a5aa26d: #> color name #> 1 red A #> 2 red B diff --git a/reference/incident.html b/reference/incident.html index 03125ca6e9..7da8a09840 100644 --- a/reference/incident.html +++ b/reference/incident.html @@ -114,11 +114,11 @@

See alsoExamples

g <- make_graph("Zachary")
 incident(g, 1)
-#> + 16/78 edges from 9be614f:
+#> + 16/78 edges from cd3d729:
 #>  [1] 1-- 2 1-- 3 1-- 4 1-- 5 1-- 6 1-- 7 1-- 8 1-- 9 1--11 1--12 1--13 1--14
 #> [13] 1--18 1--20 1--22 1--32
 incident(g, 34)
-#> + 17/78 edges from 9be614f:
+#> + 17/78 edges from cd3d729:
 #>  [1]  9--34 10--34 14--34 15--34 16--34 19--34 20--34 21--34 23--34 24--34
 #> [11] 27--34 28--34 29--34 30--34 31--34 32--34 33--34
 
diff --git a/reference/incident_edges.html b/reference/incident_edges.html index f4cdae9109..ea683cba60 100644 --- a/reference/incident_edges.html +++ b/reference/incident_edges.html @@ -117,12 +117,12 @@

Examples
g <- make_graph("Zachary")
 incident_edges(g, c(1, 34))
 #> [[1]]
-#> + 16/78 edges from d2e5a66:
+#> + 16/78 edges from 4f9c8c6:
 #>  [1] 1-- 2 1-- 3 1-- 4 1-- 5 1-- 6 1-- 7 1-- 8 1-- 9 1--11 1--12 1--13 1--14
 #> [13] 1--18 1--20 1--22 1--32
 #> 
 #> [[2]]
-#> + 17/78 edges from d2e5a66:
+#> + 17/78 edges from 4f9c8c6:
 #>  [1]  9--34 10--34 14--34 15--34 16--34 19--34 20--34 21--34 23--34 24--34
 #> [11] 27--34 28--34 29--34 30--34 31--34 32--34 33--34
 #> 
diff --git a/reference/intersection.igraph.es.html b/reference/intersection.igraph.es.html
index d2ac1d04bd..cb48c319eb 100644
--- a/reference/intersection.igraph.es.html
+++ b/reference/intersection.igraph.es.html
@@ -113,7 +113,7 @@ 

See alsoExamples

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
 intersection(E(g)[1:6], E(g)[5:9])
-#> + 2/10 edges from 7cca034 (vertex names):
+#> + 2/10 edges from adfa9fa (vertex names):
 #> [1] E--F F--G
 
diff --git a/reference/intersection.igraph.html b/reference/intersection.igraph.html index c7ea3a6cff..219cb634b7 100644 --- a/reference/intersection.igraph.html +++ b/reference/intersection.igraph.html @@ -158,7 +158,7 @@

Examples) net2 <- graph_from_literal(D - A:F:Y, B - A - X - F - H - Z, F - Y) print_all(net1 %s% net2) -#> IGRAPH 59810c8 UN-- 13 4 -- +#> IGRAPH 6abd32e UN-- 13 4 -- #> + attr: name (v/c) #> + vertex attributes: #> | name @@ -175,7 +175,7 @@

Examples#> | [11] Y #> | [12] X #> | [13] Z -#> + edges from 59810c8 (vertex names): +#> + edges from 6abd32e (vertex names): #> [1] F--H A--B D--F D--A

diff --git a/reference/intersection.igraph.vs.html b/reference/intersection.igraph.vs.html index 8853152c7f..f0876f3602 100644 --- a/reference/intersection.igraph.vs.html +++ b/reference/intersection.igraph.vs.html @@ -113,7 +113,7 @@

See alsoExamples

g <- make_(ring(10), with_vertex_(name = LETTERS[1:10]))
 intersection(E(g)[1:6], E(g)[5:9])
-#> + 2/10 edges from 9f1f398 (vertex names):
+#> + 2/10 edges from 3174071 (vertex names):
 #> [1] E--F F--G
 
diff --git a/reference/is_chordal.html b/reference/is_chordal.html index 52dce5bb1d..1fa2e81290 100644 --- a/reference/is_chordal.html +++ b/reference/is_chordal.html @@ -169,7 +169,7 @@

Examples#> [1] 9 4 6 8 3 5 7 2 1 #> #> $alpham1 -#> + 9/9 vertices, named, from af4681d: +#> + 9/9 vertices, named, from 923fcfa: #> [1] G F D B E C H I A #> is_chordal(g1, fillin = TRUE) @@ -193,7 +193,7 @@

Examples#> [1] 10 8 9 6 7 5 4 2 3 1 #> #> $alpham1 -#> + 10/10 vertices, named, from 3558da4: +#> + 10/10 vertices, named, from e31d549: #> [1] J H I G C F D B E A #> is_chordal(g2, fillin = TRUE) diff --git a/reference/is_named.html b/reference/is_named.html index 274cbbaef6..6cef69771c 100644 --- a/reference/is_named.html +++ b/reference/is_named.html @@ -112,7 +112,7 @@

Examplesis_named(g) #> [1] TRUE neighbors(g, "a") -#> + 2/10 vertices, named, from fd1f4a4: +#> + 2/10 vertices, named, from 2bc3e10: #> [1] b j

diff --git a/reference/is_tree.html b/reference/is_tree.html index 1fddb3d908..81e9acb1ff 100644 --- a/reference/is_tree.html +++ b/reference/is_tree.html @@ -135,7 +135,7 @@

Examples#> [1] TRUE #> #> $root -#> + 1/7 vertex, from be2b02d: +#> + 1/7 vertex, from 665008f: #> [1] 1 #> diff --git a/reference/is_weighted.html b/reference/is_weighted.html index 8da7967210..2509288d5a 100644 --- a/reference/is_weighted.html +++ b/reference/is_weighted.html @@ -108,7 +108,7 @@

Examplesshortest_paths(g, 8, 2) #> $vpath #> $vpath[[1]] -#> + 5/10 vertices, from 8c0866b: +#> + 5/10 vertices, from 6c8d82f: #> [1] 8 9 10 1 2 #> #> @@ -125,7 +125,7 @@

Examplesshortest_paths(g, 8, 2) #> $vpath #> $vpath[[1]] -#> + 7/10 vertices, from 8c0866b: +#> + 7/10 vertices, from 6c8d82f: #> [1] 8 7 6 5 4 3 2 #> #> diff --git a/reference/ivs.html b/reference/ivs.html index 05ffbf0cd7..652ffefd9a 100644 --- a/reference/ivs.html +++ b/reference/ivs.html @@ -154,83 +154,83 @@

Examples#> [1] 4 ivs(g, min = ivs_size(g)) #> [[1]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 7 37 55 56 #> #> [[2]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 7 55 56 69 #> #> [[3]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 7 56 69 74 #> #> [[4]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 8 15 73 80 #> #> [[5]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 8 15 73 84 #> #> [[6]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 13 16 37 40 #> #> [[7]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 21 32 45 61 #> #> [[8]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 22 55 56 64 #> #> [[9]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 23 69 75 90 #> largest_ivs(g) #> [[1]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 21 32 45 61 #> #> [[2]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 7 37 55 56 #> #> [[3]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 7 55 56 69 #> #> [[4]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 7 56 69 74 #> #> [[5]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 8 15 73 80 #> #> [[6]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 8 15 73 84 #> #> [[7]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 22 55 56 64 #> #> [[8]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 23 69 75 90 #> #> [[9]] -#> + 4/100 vertices, from 4992eae: +#> + 4/100 vertices, from 8b0896f: #> [1] 13 16 37 40 #> # Empty graph induced_subgraph(g, largest_ivs(g)[[1]]) -#> IGRAPH 9cbaa61 U--- 4 0 -- Erdos-Renyi (gnp) graph +#> IGRAPH 94a63d6 U--- 4 0 -- Erdos-Renyi (gnp) graph #> + attr: name (g/c), type (g/c), loops (g/l), p (g/n) -#> + edges from 9cbaa61: +#> + edges from 94a63d6: length(maximal_ivs(g)) #> [1] 326 diff --git a/reference/keeping_degseq.html b/reference/keeping_degseq.html index 7cdd45770f..c4b1009d29 100644 --- a/reference/keeping_degseq.html +++ b/reference/keeping_degseq.html @@ -113,7 +113,7 @@

Examples degree() #> [1] 2 2 2 2 2 2 2 2 2 2 print_all(rewire(g, with = keeping_degseq(niter = vcount(g) * 10))) -#> IGRAPH a078458 U--- 10 10 -- Ring graph +#> IGRAPH 45d48ee U--- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l) #> + graph attributes: #> | + name: @@ -122,7 +122,7 @@

Examples#> | [1] FALSE #> | + circular: #> | [1] TRUE -#> + edges from a078458: +#> + edges from 45d48ee: #> [1] 4-- 7 4-- 5 3-- 5 6-- 9 2-- 9 1-- 8 3-- 6 8--10 1-- 2 7--10

diff --git a/reference/make_bipartite_graph.html b/reference/make_bipartite_graph.html index 4d45167db1..733349766d 100644 --- a/reference/make_bipartite_graph.html +++ b/reference/make_bipartite_graph.html @@ -147,9 +147,9 @@

Examples

 g <- make_bipartite_graph(rep(0:1, length.out = 10), c(1:10))
 print(g, v = TRUE)
-#> IGRAPH 5ac896b U--B 10 5 -- 
+#> IGRAPH 8724e27 U--B 10 5 -- 
 #> + attr: type (v/l)
-#> + edges from 5ac896b:
+#> + edges from 8724e27:
 #> [1] 1-- 2 3-- 4 5-- 6 7-- 8 9--10
 
 
diff --git a/reference/make_de_bruijn_graph.html b/reference/make_de_bruijn_graph.html index dd30305a51..95d5a5d5fe 100644 --- a/reference/make_de_bruijn_graph.html +++ b/reference/make_de_bruijn_graph.html @@ -120,14 +120,14 @@

Examples# de Bruijn graphs can be created recursively by line graphs as well g <- make_de_bruijn_graph(2, 1) make_de_bruijn_graph(2, 2) -#> IGRAPH 928ed5f D--- 4 8 -- De-Bruijn graph 2-2 +#> IGRAPH 1f26ff5 D--- 4 8 -- De-Bruijn graph 2-2 #> + attr: name (g/c), m (g/n), n (g/n) -#> + edges from 928ed5f: +#> + edges from 1f26ff5: #> [1] 1->1 1->2 2->3 2->4 3->1 3->2 4->3 4->4 make_line_graph(g) -#> IGRAPH 777caab D--- 4 8 -- Line graph +#> IGRAPH b7ba047 D--- 4 8 -- Line graph #> + attr: name (g/c) -#> + edges from 777caab: +#> + edges from b7ba047: #> [1] 1->1 3->1 1->2 3->2 2->3 4->3 2->4 4->4 diff --git a/reference/make_empty_graph.html b/reference/make_empty_graph.html index 3474ce126d..5ea3b05688 100644 --- a/reference/make_empty_graph.html +++ b/reference/make_empty_graph.html @@ -110,11 +110,11 @@

See also

Examples

make_empty_graph(n = 10)
-#> IGRAPH c85de3d D--- 10 0 -- 
-#> + edges from c85de3d:
+#> IGRAPH 6b171f3 D--- 10 0 -- 
+#> + edges from 6b171f3:
 make_empty_graph(n = 5, directed = FALSE)
-#> IGRAPH 97333a3 U--- 5 0 -- 
-#> + edges from 97333a3:
+#> IGRAPH 42f1458 U--- 5 0 -- 
+#> + edges from 42f1458: