diff --git a/articles/igraph.html b/articles/igraph.html index 28f7a9fd79..7f4addea0e 100644 --- a/articles/igraph.html +++ b/articles/igraph.html @@ -146,9 +146,9 @@

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

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

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

Creating a graph -
## IGRAPH 35d89af UN-- 10 2 -- 
+
## IGRAPH c05ec84 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 @@ -241,9 +241,9 @@

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

-
## IGRAPH 68cdbd0 U--- 40 86 -- Zachary
+
## IGRAPH 3dda3e9 U--- 40 86 -- Zachary
 ## + attr: name (g/c)
-## + edges from 68cdbd0:
+## + edges from 3dda3e9:
 ##  [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
@@ -335,7 +335,7 @@ 

Constructing graphs
 graph1 <- make_tree(127, 2, mode = "undirected")
 summary(graph1)
-
## IGRAPH 198bf53 U--- 127 126 -- Tree
+
## IGRAPH 500bab0 U--- 127 126 -- Tree
 ## + attr: name (g/c), children (g/n), mode (g/c)

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

Constructing graphs
 graph1 <- sample_grg(100, 0.2)
 summary(graph1)
-
## IGRAPH b87fefa U--- 100 524 -- Geometric random graph
+
## IGRAPH 3e88a5f U--- 100 524 -- 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 @@ -407,7 +407,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 779d9ba UN-- 7 9 -- 
+
## IGRAPH 292a678 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 @@ -451,7 +451,7 @@

Setting and retrieving attributes
 V(g)$name[1:3] <- c("Alejandra", "Bruno", "Carmina")
 V(g)
-
## + 7/7 vertices, named, from 779d9ba:
+
## + 7/7 vertices, named, from 292a678:
 ## [1] Alejandra Bruno     Carmina   Moshe     Nang      Samira    Ibrahim

To delete attributes:

@@ -569,12 +569,12 @@ 

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

-
## + 3/10 vertices, from 60a11dd:
+
## + 3/10 vertices, from c146380:
 ## [1] 2 3 7
 seq <- seq[1, 3] # filtering an existing vertex set
 seq
-
## + 2/10 vertices, from 60a11dd:
+
## + 2/10 vertices, from c146380:
 ## [1] 2 7

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

@@ -670,12 +670,12 @@ 

Selecting edges
 E(g)[.from(3)]
-
## + 4/9 edges from 779d9ba (vertex names):
+
## + 4/9 edges from 292a678 (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Moshe   Carmina  --Nang    Carmina  --Samira

Of course it also works with vertex names:

 E(g)[.from("Carmina")]
-
## + 4/9 edges from 779d9ba (vertex names):
+
## + 4/9 edges from 292a678 (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Moshe   Carmina  --Nang    Carmina  --Samira

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

Selecting edges
 E(g)[3:5 %--% 5:6]
-
## + 3/9 edges from 779d9ba (vertex names):
+
## + 3/9 edges from 292a678 (vertex names):
 ## [1] Carmina--Nang   Carmina--Samira Nang   --Samira

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

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

 E(g)[men %--% women]
-
## + 5/9 edges from 779d9ba (vertex names):
+
## + 5/9 edges from 292a678 (vertex names):
 ## [1] Alejandra--Bruno  Alejandra--Moshe  Carmina  --Moshe  Carmina  --Nang  
 ## [5] Nang     --Samira

diff --git a/articles/igraph_ES.html b/articles/igraph_ES.html index 8aee7a31bc..0f2eb41e25 100644 --- a/articles/igraph_ES.html +++ b/articles/igraph_ES.html @@ -150,9 +150,9 @@

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

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

Crear un grafo -
## IGRAPH b8d354d UN-- 10 2 -- 
+
## IGRAPH f9de637 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 @@ -251,9 +251,9 @@

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

-
## IGRAPH 7e49757 U--- 40 86 -- Zachary
+
## IGRAPH afd83a3 U--- 40 86 -- Zachary
 ## + attr: name (g/c)
-## + edges from 7e49757:
+## + edges from afd83a3:
 ##  [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
@@ -349,7 +349,7 @@ 

Construcción de grafos
 graph1 <- make_tree(127, 2, mode = "undirected")
 summary(g)
-
## IGRAPH a705d74 U--- 5 3 -- Ring graph
+
## IGRAPH f15d40c 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 @@ -366,7 +366,7 @@

Construcción de grafos
 graph1 <- sample_grg(100, 0.2)
 summary(graph1)
-
## IGRAPH 54f10d0 U--- 100 524 -- Geometric random graph
+
## IGRAPH f2714c6 U--- 100 524 -- 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 @@ -424,7 +424,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 7873d97 UN-- 7 9 -- 
+
## IGRAPH e1bb7ed 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 @@ -472,7 +472,7 @@

Establecer y recuperar atributos
 V(g)$name[1:3] <- c("Alejandra", "Bruno", "Carmina")
 V(g)
-
## + 7/7 vertices, named, from 7873d97:
+
## + 7/7 vertices, named, from e1bb7ed:
 ## [1] Alejandra Bruno     Carmina   Moshe     Nang      Samira    Ibrahim

Para eliminar atributos:

@@ -593,12 +593,12 @@ 

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

-
## + 3/10 vertices, from 431dfa5:
+
## + 3/10 vertices, from b2ea96c:
 ## [1] 2 3 7
 seq <- seq[1, 3]    # filtrar un conjunto de vértices existente
 seq
-
## + 2/10 vertices, from 431dfa5:
+
## + 2/10 vertices, from b2ea96c:
 ## [1] 2 7

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

@@ -692,12 +692,12 @@ 

Selección de aristas
 E(g)[.from(3)]
-
## + 4/9 edges from 7873d97 (vertex names):
+
## + 4/9 edges from e1bb7ed (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Moshe   Carmina  --Nang    Carmina  --Samira

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

 E(g)[.from("Carmina")]
-
## + 4/9 edges from 7873d97 (vertex names):
+
## + 4/9 edges from e1bb7ed (vertex names):
 ## [1] Alejandra--Carmina Carmina  --Moshe   Carmina  --Nang    Carmina  --Samira

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

Selección de aristas
 E(g) [ 3:5 %--% 5:6 ]
-
## + 3/9 edges from 7873d97 (vertex names):
+
## + 3/9 edges from e1bb7ed (vertex names):
 ## [1] Carmina--Nang   Carmina--Samira Nang   --Samira

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

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

 E(g)[men %--% women]
-
## + 5/9 edges from 7873d97 (vertex names):
+
## + 5/9 edges from e1bb7ed (vertex names):
 ## [1] Alejandra--Bruno  Alejandra--Moshe  Carmina  --Moshe  Carmina  --Nang  
 ## [5] Nang     --Samira

diff --git a/pkgdown.yml b/pkgdown.yml index ded5fba621..bfb863e3a3 100644 --- a/pkgdown.yml +++ b/pkgdown.yml @@ -6,7 +6,7 @@ articles: igraph_ES: igraph_ES.html igraph: igraph.html articles/installation-troubleshooting: installation-troubleshooting.html -last_built: 2024-09-30T14:26Z +last_built: 2024-09-30T14:33Z urls: reference: https://r.igraph.org/reference article: https://r.igraph.org/articles diff --git a/reference/E.html b/reference/E.html index 0d590db511..6412e756cf 100644 --- a/reference/E.html +++ b/reference/E.html @@ -140,14 +140,14 @@

Examples
# Edges of an unnamed graph
 g <- make_ring(10)
 E(g)
-#> + 10/10 edges from ac6b51f:
+#> + 10/10 edges from d12f2e4:
 #>  [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 0304eb7 (vertex names):
+#> + 10/10 edges from 7b90dfe (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 0693a35e76..4899d6cb5c 100644 --- a/reference/V.html +++ b/reference/V.html @@ -120,14 +120,14 @@

Examples
# Vertex ids of an unnamed graph
 g <- make_ring(10)
 V(g)
-#> + 10/10 vertices, from e316275:
+#> + 10/10 vertices, from 329102b:
 #>  [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 22d0e4e:
+#> + 10/10 vertices, named, from a1c2eb8:
 #>  [1] a b c d e f g h i j
 
diff --git a/reference/add_edges.html b/reference/add_edges.html index 5d83e81a27..d8d8779c4e 100644 --- a/reference/add_edges.html +++ b/reference/add_edges.html @@ -135,7 +135,7 @@

Examples set_edge_attr("color", value = "red") %>% add_edges(c(5, 1), color = "green") E(g)[[]] -#> + 5/5 edges from 5708e52: +#> + 5/5 edges from cdae59e: #> tail head tid hid color #> 1 1 2 1 2 red #> 2 2 3 2 3 red diff --git a/reference/add_vertices.html b/reference/add_vertices.html index 9b81810217..b44e2c73c8 100644 --- a/reference/add_vertices.html +++ b/reference/add_vertices.html @@ -126,12 +126,12 @@

Examples 4, 5 )) g -#> IGRAPH 46f9951 D--- 5 4 -- +#> IGRAPH 4fc3d39 D--- 5 4 -- #> + attr: color (v/c) -#> + edges from 46f9951: +#> + edges from 4fc3d39: #> [1] 1->2 2->3 3->4 4->5 V(g)[[]] -#> + 5/5 vertices, from 46f9951: +#> + 5/5 vertices, from 4fc3d39: #> color #> 1 red #> 2 red diff --git a/reference/adjacent_vertices.html b/reference/adjacent_vertices.html index 1c65eedb81..1af7a496a8 100644 --- a/reference/adjacent_vertices.html +++ b/reference/adjacent_vertices.html @@ -100,11 +100,11 @@

Examples
g <- make_graph("Zachary")
 adjacent_vertices(g, c(1, 34))
 #> [[1]]
-#> + 16/34 vertices, from 41f4de0:
+#> + 16/34 vertices, from 4f0a6c4:
 #>  [1]  2  3  4  5  6  7  8  9 11 12 13 14 18 20 22 32
 #> 
 #> [[2]]
-#> + 17/34 vertices, from 41f4de0:
+#> + 17/34 vertices, from 4f0a6c4:
 #>  [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 e954495ae6..12fec5ffff 100644 --- a/reference/all_simple_paths.html +++ b/reference/all_simple_paths.html @@ -122,28 +122,28 @@

Examplesg <- make_ring(10) all_simple_paths(g, 1, 5) #> [[1]] -#> + 5/10 vertices, from 33c9e8a: +#> + 5/10 vertices, from 651394c: #> [1] 1 2 3 4 5 #> #> [[2]] -#> + 7/10 vertices, from 33c9e8a: +#> + 7/10 vertices, from 651394c: #> [1] 1 10 9 8 7 6 5 #> all_simple_paths(g, 1, c(3, 5)) #> [[1]] -#> + 3/10 vertices, from 33c9e8a: +#> + 3/10 vertices, from 651394c: #> [1] 1 2 3 #> #> [[2]] -#> + 5/10 vertices, from 33c9e8a: +#> + 5/10 vertices, from 651394c: #> [1] 1 2 3 4 5 #> #> [[3]] -#> + 7/10 vertices, from 33c9e8a: +#> + 7/10 vertices, from 651394c: #> [1] 1 10 9 8 7 6 5 #> #> [[4]] -#> + 9/10 vertices, from 33c9e8a: +#> + 9/10 vertices, from 651394c: #> [1] 1 10 9 8 7 6 5 4 3 #> diff --git a/reference/are_adjacent.html b/reference/are_adjacent.html index 86a6985886..2e42cd3204 100644 --- a/reference/are_adjacent.html +++ b/reference/are_adjacent.html @@ -101,9 +101,9 @@

Examples

ug <- make_ring(10)
 ug
-#> IGRAPH 6f802a0 U--- 10 10 -- Ring graph
+#> IGRAPH c56838a U--- 10 10 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from 6f802a0:
+#> + edges from c56838a:
 #>  [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
@@ -112,9 +112,9 @@ 

Examples dg <- make_ring(10, directed = TRUE) dg -#> IGRAPH 52c1fda D--- 10 10 -- Ring graph +#> IGRAPH 506caf2 D--- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l) -#> + edges from 52c1fda: +#> + edges from 506caf2: #> [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/articulation_points.html b/reference/articulation_points.html index acbfd4a4e6..ff067e6ceb 100644 --- a/reference/articulation_points.html +++ b/reference/articulation_points.html @@ -106,12 +106,12 @@

Examplesclu <- components(g)$membership g <- add_edges(g, c(match(1, clu), match(2, clu))) articulation_points(g) -#> + 2/10 vertices, from 822b23a: +#> + 2/10 vertices, from 34d876a: #> [1] 6 1 g <- make_graph("krackhardt_kite") bridges(g) -#> + 2/18 edges from 294645d: +#> + 2/18 edges from a7b4c87: #> [1] 9--10 8-- 9

diff --git a/reference/as.igraph.html b/reference/as.igraph.html index 9bdac214be..17ff6bf9d7 100644 --- a/reference/as.igraph.html +++ b/reference/as.igraph.html @@ -86,9 +86,9 @@

Examplesg <- make_full_graph(5) + make_full_graph(5) hrg <- fit_hrg(g) as.igraph(hrg) -#> IGRAPH e0e9e73 DN-- 19 18 -- Fitted HRG +#> IGRAPH 4773409 DN-- 19 18 -- Fitted HRG #> + attr: name (g/c), name (v/c), prob (v/n) -#> + edges from e0e9e73 (vertex names): +#> + edges from 4773409 (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 4fc3008185..79ce2f76df 100644 --- a/reference/as_adj_list.html +++ b/reference/as_adj_list.html @@ -136,84 +136,84 @@

Examplesg <- make_ring(10) as_adj_list(g) #> [[1]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 2 10 #> #> [[2]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 1 3 #> #> [[3]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 2 4 #> #> [[4]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 3 5 #> #> [[5]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 4 6 #> #> [[6]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 5 7 #> #> [[7]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 6 8 #> #> [[8]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 7 9 #> #> [[9]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 8 10 #> #> [[10]] -#> + 2/10 vertices, from e9583e0: +#> + 2/10 vertices, from 49f0147: #> [1] 1 9 #> as_adj_edge_list(g) #> [[1]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 1-- 2 1--10 #> #> [[2]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 1--2 2--3 #> #> [[3]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 2--3 3--4 #> #> [[4]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 3--4 4--5 #> #> [[5]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 4--5 5--6 #> #> [[6]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 5--6 6--7 #> #> [[7]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 6--7 7--8 #> #> [[8]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 7--8 8--9 #> #> [[9]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 8-- 9 9--10 #> #> [[10]] -#> + 2/10 edges from e9583e0: +#> + 2/10 edges from 49f0147: #> [1] 1--10 9--10 #> diff --git a/reference/as_directed.html b/reference/as_directed.html index 830f756b27..6c9517ed35 100644 --- a/reference/as_directed.html +++ b/reference/as_directed.html @@ -163,16 +163,16 @@

Examples

 g <- make_ring(10)
 as_directed(g, "mutual")
-#> IGRAPH 93bc5e1 D--- 10 20 -- Ring graph
+#> IGRAPH 77b9c29 D--- 10 20 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from 93bc5e1:
+#> + edges from 77b9c29:
 #>  [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 cbe7c8e U--- 10 10 -- Ring graph
+#> IGRAPH 9023c3a U--- 10 10 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from cbe7c8e:
+#> + edges from 9023c3a:
 #>  [1] 1-- 2 2-- 3 3-- 4 4-- 5 5-- 6 6-- 7 7-- 8 8-- 9 9--10 1--10
 
 # Combining edge attributes
@@ -180,9 +180,9 @@ 

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

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

diff --git a/reference/as_graphnel.html b/reference/as_graphnel.html index d8a7531a04..84e2bd0c46 100644 --- a/reference/as_graphnel.html +++ b/reference/as_graphnel.html @@ -105,10 +105,10 @@

ExamplesGNEL <- as_graphnel(g) g2 <- graph_from_graphnel(GNEL) g2 -#> IGRAPH 115435a UNW- 10 10 -- Ring graph +#> IGRAPH a4af4ab UNW- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c), weight #> | (e/n) -#> + edges from 115435a (vertex names): +#> + edges from a4af4ab (vertex names): #> [1] a--b a--j b--c c--d d--e e--f f--g g--h h--i i--j ## Directed @@ -117,9 +117,9 @@

ExamplesGNEL2 <- as_graphnel(g3) g4 <- graph_from_graphnel(GNEL2) g4 -#> IGRAPH a5b52c8 DNW- 10 9 -- In-star +#> IGRAPH fe3c13a DNW- 10 9 -- In-star #> + attr: name (g/c), mode (g/c), center (g/n), name (v/c), weight (e/n) -#> + edges from a5b52c8 (vertex names): +#> + edges from fe3c13a (vertex names): #> [1] b->a c->a d->a e->a f->a g->a h->a i->a j->a

diff --git a/reference/automorphism_group.html b/reference/automorphism_group.html index 827606ef2b..967d8cfbd5 100644 --- a/reference/automorphism_group.html +++ b/reference/automorphism_group.html @@ -148,11 +148,11 @@

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

diff --git a/reference/bfs.html b/reference/bfs.html index 6b741ef758..244cc55cb1 100644 --- a/reference/bfs.html +++ b/reference/bfs.html @@ -261,22 +261,22 @@

Examples#> [1] "out" #> #> $order -#> + 20/20 vertices, from fe141ce: +#> + 20/20 vertices, from ea83dde: #> [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 fe141ce: +#> + 20/20 vertices, from ea83dde: #> [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 fe141ce: +#> + 20/20 vertices, from ea83dde: #> [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 fe141ce: +#> + 20/20 vertices, from ea83dde: #> [1] 2 10 9 8 7 NA 6 5 4 3 12 20 19 18 17 NA 16 15 14 13 #> #> $dist @@ -349,7 +349,7 @@

Examples#> [1] "out" #> #> $order -#> + 20/20 vertices, from b43affc: +#> + 20/20 vertices, from f4e8afb: #> [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 c7a640fc40..b4b9bf46ce 100644 --- a/reference/bipartite_projection.html +++ b/reference/bipartite_projection.html @@ -167,15 +167,15 @@

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

diff --git a/reference/c.igraph.es.html b/reference/c.igraph.es.html index a7099643f0..88788dd6e4 100644 --- a/reference/c.igraph.es.html +++ b/reference/c.igraph.es.html @@ -95,7 +95,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 9da3596 (vertex names):
+#> + 6/10 edges from de324e0 (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 7d092b4612..58af098f90 100644 --- a/reference/c.igraph.vs.html +++ b/reference/c.igraph.vs.html @@ -95,7 +95,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 f3ec5f8:
+#> + 6/10 vertices, named, from 3824438:
 #> [1] A A A B C D
 
diff --git a/reference/cliques.html b/reference/cliques.html index 7a69c44d24..48646df4d9 100644 --- a/reference/cliques.html +++ b/reference/cliques.html @@ -177,156 +177,156 @@

Examples#> [1] 6 cliques(g, min = 6) #> [[1]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 6 7 20 76 87 94 #> #> [[2]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 7 20 28 53 76 94 #> #> [[3]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 17 24 50 57 87 93 #> #> [[4]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 15 31 40 56 63 #> #> [[5]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 31 40 56 63 97 #> #> [[6]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 13 68 69 75 97 #> #> [[7]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 13 56 68 75 97 #> #> [[8]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 56 63 68 81 82 97 #> #> [[9]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 15 28 31 66 85 93 #> #> [[10]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 3 38 50 68 96 99 #> #> [[11]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 28 72 79 94 #> #> [[12]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 54 72 79 94 #> #> [[13]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 63 79 94 97 #> #> [[14]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 63 77 94 97 #> #> [[15]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 13 14 33 79 97 #> #> [[16]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 17 63 77 97 #> #> [[17]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 14 18 60 63 97 #> #> [[18]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 17 24 46 57 84 91 #> #> [[19]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 17 24 46 47 57 91 #> largest_cliques(g) #> [[1]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 3 99 50 96 68 38 #> #> [[2]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 28 72 79 94 #> #> [[3]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 54 79 72 94 #> #> [[4]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 97 17 63 77 #> #> [[5]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 97 79 13 33 #> #> [[6]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 97 79 63 94 #> #> [[7]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 5 14 97 77 94 63 #> #> [[8]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 6 7 94 87 20 76 #> #> [[9]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 7 53 94 28 76 20 #> #> [[10]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 97 13 68 75 56 #> #> [[11]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 97 13 68 75 69 #> #> [[12]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 97 63 14 60 18 #> #> [[13]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 97 63 40 56 31 #> #> [[14]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 8 15 63 56 40 31 #> #> [[15]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 15 93 31 85 28 66 #> #> [[16]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 17 93 50 87 57 24 #> #> [[17]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 17 46 91 57 24 84 #> #> [[18]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 17 46 91 57 24 47 #> #> [[19]] -#> + 6/100 vertices, from 0208f0e: +#> + 6/100 vertices, from 19a4a8d: #> [1] 56 97 82 68 81 63 #> @@ -334,567 +334,567 @@

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

diff --git a/reference/cohesive_blocks.html b/reference/cohesive_blocks.html index 720f513c4f..7aa09f5c81 100644 --- a/reference/cohesive_blocks.html +++ b/reference/cohesive_blocks.html @@ -302,23 +302,23 @@

Examples#> '- B-5 c 3, n 4 ......o.oo o......... ... blocks(mwBlocks) #> [[1]] -#> + 23/23 vertices, named, from 199f045: +#> + 23/23 vertices, named, from f48f972: #> [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 199f045: +#> + 14/23 vertices, named, from f48f972: #> [1] 1 2 3 4 5 6 7 21 19 17 18 20 22 23 #> #> [[3]] -#> + 10/23 vertices, named, from 199f045: +#> + 10/23 vertices, named, from f48f972: #> [1] 7 8 11 14 9 10 12 13 16 15 #> #> [[4]] -#> + 7/23 vertices, named, from 199f045: +#> + 7/23 vertices, named, from f48f972: #> [1] 1 2 3 4 5 6 7 #> #> [[5]] -#> + 4/23 vertices, named, from 199f045: +#> + 4/23 vertices, named, from f48f972: #> [1] 7 8 11 14 #> cohesion(mwBlocks) diff --git a/reference/complementer.html b/reference/complementer.html index 427fbd758b..80b8553280 100644 --- a/reference/complementer.html +++ b/reference/complementer.html @@ -117,9 +117,9 @@

Examples## Complementer of a ring g <- make_ring(10) complementer(g) -#> IGRAPH ad8014f U--- 10 35 -- Ring graph +#> IGRAPH 9b5a47b U--- 10 35 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l) -#> + edges from ad8014f: +#> + edges from 9b5a47b: #> [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 @@ -129,10 +129,10 @@

Examplesgc <- complementer(g) gu <- union(g, gc) gu -#> IGRAPH 3d1a8e0 U--- 10 45 -- +#> IGRAPH c921430 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 3d1a8e0: +#> + edges from c921430: #> [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 a9f98d6fcc..ae9b3fc8b4 100644 --- a/reference/components.html +++ b/reference/components.html @@ -201,9 +201,9 @@

Examples#> [1] 17 #> largest_component(g) -#> IGRAPH a1fbb9e U--- 8 7 -- Erdos-Renyi (gnp) graph +#> IGRAPH 714e1b5 U--- 8 7 -- Erdos-Renyi (gnp) graph #> + attr: name (g/c), type (g/c), loops (g/l), p (g/n) -#> + edges from a1fbb9e: +#> + edges from 714e1b5: #> [1] 2--3 1--4 4--5 2--6 5--6 6--7 6--8

diff --git a/reference/compose.html b/reference/compose.html index 69b0e98b04..bf5bc6bfa1 100644 --- a/reference/compose.html +++ b/reference/compose.html @@ -146,7 +146,7 @@

Examplesg2 <- make_star(10, mode = "undirected") gc <- compose(g1, g2) print_all(gc) -#> IGRAPH 89e64f2 U--- 10 36 -- +#> IGRAPH 57582b7 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: @@ -161,7 +161,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 ec84d44 U--- 10 24 -- +#> IGRAPH 181d180 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 ac1f3f02e5..d3531a9624 100644 --- a/reference/contract.html +++ b/reference/contract.html @@ -135,10 +135,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 f904260 UNW- 5 10 -- Ring +#> IGRAPH 8a03d82 UNW- 5 10 -- Ring #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c), weight #> | (e/n) -#> + edges from f904260 (vertex names): +#> + edges from 8a03d82 (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 35ac86cf28..b42b8af04a 100644 --- a/reference/delete_edges.html +++ b/reference/delete_edges.html @@ -104,25 +104,25 @@

Examples
g <- make_ring(10) %>%
   delete_edges(seq(1, 9, by = 2))
 g
-#> IGRAPH fdd425c U--- 10 5 -- Ring graph
+#> IGRAPH 6a90e5b U--- 10 5 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from fdd425c:
+#> + edges from 6a90e5b:
 #> [1] 2-- 3 4-- 5 6-- 7 8-- 9 1--10
 
 g <- make_ring(10) %>%
   delete_edges("10|1")
 g
-#> IGRAPH d7bca7d U--- 10 9 -- Ring graph
+#> IGRAPH cc8d1dc U--- 10 9 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from d7bca7d:
+#> + edges from cc8d1dc:
 #> [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 feeb234 U--- 5 3 -- Ring graph
+#> IGRAPH 0617ea8 U--- 5 3 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l)
-#> + edges from feeb234:
+#> + edges from 0617ea8:
 #> [1] 1--2 2--3 3--4
 
diff --git a/reference/delete_vertices.html b/reference/delete_vertices.html index 7eeadd20fa..5c6a848901 100644 --- a/reference/delete_vertices.html +++ b/reference/delete_vertices.html @@ -101,23 +101,23 @@

Examples
g <- make_ring(10) %>%
   set_vertex_attr("name", value = LETTERS[1:10])
 g
-#> IGRAPH 5c383d2 UN-- 10 10 -- Ring graph
+#> IGRAPH c7e3dc0 UN-- 10 10 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c)
-#> + edges from 5c383d2 (vertex names):
+#> + edges from c7e3dc0 (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 5c383d2:
+#> + 10/10 vertices, named, from c7e3dc0:
 #>  [1] A B C D E F G H I J
 
 g2 <- delete_vertices(g, c(1, 5)) %>%
   delete_vertices("B")
 g2
-#> IGRAPH 2ba437c UN-- 7 5 -- Ring graph
+#> IGRAPH 41c468d UN-- 7 5 -- Ring graph
 #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c)
-#> + edges from 2ba437c (vertex names):
+#> + edges from 41c468d (vertex names):
 #> [1] C--D F--G G--H H--I I--J
 V(g2)
-#> + 7/7 vertices, named, from 2ba437c:
+#> + 7/7 vertices, named, from 41c468d:
 #> [1] C D F G H I J
 
diff --git a/reference/dfs.html b/reference/dfs.html index 8174f964c1..b256df87c8 100644 --- a/reference/dfs.html +++ b/reference/dfs.html @@ -232,15 +232,15 @@

Examples#> [1] "out" #> #> $order -#> + 20/20 vertices, from 3d8497a: +#> + 20/20 vertices, from 4fce90c: #> [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 3d8497a: +#> + 20/20 vertices, from 4fce90c: #> [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 3d8497a: +#> + 20/20 vertices, from 4fce90c: #> [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 ceefb39334..f07011a801 100644 --- a/reference/diameter.html +++ b/reference/diameter.html @@ -131,12 +131,12 @@

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

diff --git a/reference/difference.igraph.es.html b/reference/difference.igraph.es.html index 2dcb99b9d5..6ad1eb9576 100644 --- a/reference/difference.igraph.es.html +++ b/reference/difference.igraph.es.html @@ -104,7 +104,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 07c7f88:
+#> + 5/10 vertices, named, from eb9c0e0:
 #> [1] A B C D E
 
diff --git a/reference/difference.igraph.html b/reference/difference.igraph.html index 9cc95dd2a3..1ef1bb332f 100644 --- a/reference/difference.igraph.html +++ b/reference/difference.igraph.html @@ -143,7 +143,7 @@

ExamplesV(sstar)$name <- letters[c(1, 3, 5, 7, 9, 11)] G <- wheel %m% sstar print_all(G) -#> IGRAPH d585485 UN-- 11 15 -- +#> IGRAPH dee5aee 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 a8e31b7ee5..74f2ca1b7e 100644 --- a/reference/difference.igraph.vs.html +++ b/reference/difference.igraph.vs.html @@ -104,7 +104,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 9989832:
+#> + 5/10 vertices, named, from f091dcc:
 #> [1] A B C D E
 
diff --git a/reference/disjoint_union.html b/reference/disjoint_union.html index 2eac138df9..3f49ec15c0 100644 --- a/reference/disjoint_union.html +++ b/reference/disjoint_union.html @@ -132,10 +132,10 @@

Examplesg2 <- make_ring(10) V(g2)$name <- letters[11:20] print_all(g1 %du% g2) -#> IGRAPH d883017 UN-- 20 19 -- +#> IGRAPH 0d3ff25 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 d883017 (vertex names): +#> + edges from 0d3ff25 (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 6ec5c13019..8e964ed366 100644 --- a/reference/distances.html +++ b/reference/distances.html @@ -362,43 +362,43 @@

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

Examplesall_shortest_paths(g, 1, 6:8) #> $vpaths #> $vpaths[[1]] -#> + 6/10 vertices, from ca6696f: +#> + 6/10 vertices, from f7aa714: #> [1] 1 10 9 8 7 6 #> #> $vpaths[[2]] -#> + 6/10 vertices, from ca6696f: +#> + 6/10 vertices, from f7aa714: #> [1] 1 2 3 4 5 6 #> #> $vpaths[[3]] -#> + 5/10 vertices, from ca6696f: +#> + 5/10 vertices, from f7aa714: #> [1] 1 10 9 8 7 #> #> $vpaths[[4]] -#> + 4/10 vertices, from ca6696f: +#> + 4/10 vertices, from f7aa714: #> [1] 1 10 9 8 #> #> @@ -449,19 +449,19 @@

Examples#> #> $res #> $res[[1]] -#> + 6/10 vertices, from ca6696f: +#> + 6/10 vertices, from f7aa714: #> [1] 1 10 9 8 7 6 #> #> $res[[2]] -#> + 6/10 vertices, from ca6696f: +#> + 6/10 vertices, from f7aa714: #> [1] 1 2 3 4 5 6 #> #> $res[[3]] -#> + 5/10 vertices, from ca6696f: +#> + 5/10 vertices, from f7aa714: #> [1] 1 10 9 8 7 #> #> $res[[4]] -#> + 4/10 vertices, from ca6696f: +#> + 4/10 vertices, from f7aa714: #> [1] 1 10 9 8 #> #> diff --git a/reference/edge.html b/reference/edge.html index 4ccc419372..51a8d616cb 100644 --- a/reference/edge.html +++ b/reference/edge.html @@ -120,7 +120,7 @@

Examples edge("8|9") E(g)[[]] -#> + 11/11 edges from bf5bacc: +#> + 11/11 edges from 609c4e2: #> 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 73234fe398..b3d0b354b6 100644 --- a/reference/edge_attr-set.html +++ b/reference/edge_attr-set.html @@ -111,10 +111,10 @@

Examples) edge_attr(g, "label") <- E(g)$name g -#> IGRAPH d29cd78 U--- 10 10 -- Ring graph +#> IGRAPH 3ce67ac 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 d29cd78: +#> + edges from 3ce67ac: #> [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 f6a94d5f81..ef1e4f02fe 100644 --- a/reference/edge_attr.html +++ b/reference/edge_attr.html @@ -103,10 +103,10 @@

Examples set_edge_attr("weight", value = 1:10) %>% set_edge_attr("color", value = "red") g -#> IGRAPH aa45e4c U-W- 10 10 -- Ring graph +#> IGRAPH 58b95cf U-W- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), weight (e/n), color #> | (e/c) -#> + edges from aa45e4c: +#> + edges from 58b95cf: #> [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 d19cb68048..7ac0bcef05 100644 --- a/reference/ego.html +++ b/reference/ego.html @@ -250,82 +250,82 @@

Examples ego(g, order = 0, 1:3) #> [[1]] -#> + 1/10 vertex, from 4ff11b6: +#> + 1/10 vertex, from 7a45971: #> [1] 1 #> #> [[2]] -#> + 1/10 vertex, from 4ff11b6: +#> + 1/10 vertex, from 7a45971: #> [1] 2 #> #> [[3]] -#> + 1/10 vertex, from 4ff11b6: +#> + 1/10 vertex, from 7a45971: #> [1] 3 #> ego(g, order = 1, 1:3) #> [[1]] -#> + 3/10 vertices, from 4ff11b6: +#> + 3/10 vertices, from 7a45971: #> [1] 1 2 10 #> #> [[2]] -#> + 3/10 vertices, from 4ff11b6: +#> + 3/10 vertices, from 7a45971: #> [1] 2 1 3 #> #> [[3]] -#> + 3/10 vertices, from 4ff11b6: +#> + 3/10 vertices, from 7a45971: #> [1] 3 2 4 #> ego(g, order = 2, 1:3) #> [[1]] -#> + 5/10 vertices, from 4ff11b6: +#> + 5/10 vertices, from 7a45971: #> [1] 1 2 10 3 9 #> #> [[2]] -#> + 5/10 vertices, from 4ff11b6: +#> + 5/10 vertices, from 7a45971: #> [1] 2 1 3 10 4 #> #> [[3]] -#> + 5/10 vertices, from 4ff11b6: +#> + 5/10 vertices, from 7a45971: #> [1] 3 2 4 1 5 #> # neighborhood() is an alias of ego() neighborhood(g, order = 0, 1:3) #> [[1]] -#> + 1/10 vertex, from 4ff11b6: +#> + 1/10 vertex, from 7a45971: #> [1] 1 #> #> [[2]] -#> + 1/10 vertex, from 4ff11b6: +#> + 1/10 vertex, from 7a45971: #> [1] 2 #> #> [[3]] -#> + 1/10 vertex, from 4ff11b6: +#> + 1/10 vertex, from 7a45971: #> [1] 3 #> neighborhood(g, order = 1, 1:3) #> [[1]] -#> + 3/10 vertices, from 4ff11b6: +#> + 3/10 vertices, from 7a45971: #> [1] 1 2 10 #> #> [[2]] -#> + 3/10 vertices, from 4ff11b6: +#> + 3/10 vertices, from 7a45971: #> [1] 2 1 3 #> #> [[3]] -#> + 3/10 vertices, from 4ff11b6: +#> + 3/10 vertices, from 7a45971: #> [1] 3 2 4 #> neighborhood(g, order = 2, 1:3) #> [[1]] -#> + 5/10 vertices, from 4ff11b6: +#> + 5/10 vertices, from 7a45971: #> [1] 1 2 10 3 9 #> #> [[2]] -#> + 5/10 vertices, from 4ff11b6: +#> + 5/10 vertices, from 7a45971: #> [1] 2 1 3 10 4 #> #> [[3]] -#> + 5/10 vertices, from 4ff11b6: +#> + 5/10 vertices, from 7a45971: #> [1] 3 2 4 1 5 #> @@ -333,41 +333,41 @@

ExamplesV(g)$name <- c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j") make_ego_graph(g, order = 2, 1:3) #> [[1]] -#> IGRAPH 1130a39 UN-- 5 4 -- Ring graph +#> IGRAPH 49182cf UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from 1130a39 (vertex names): +#> + edges from 49182cf (vertex names): #> [1] a--b b--c a--j i--j #> #> [[2]] -#> IGRAPH 64a2cb0 UN-- 5 4 -- Ring graph +#> IGRAPH 77ad537 UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from 64a2cb0 (vertex names): +#> + edges from 77ad537 (vertex names): #> [1] a--b b--c c--d a--j #> #> [[3]] -#> IGRAPH 9812caa UN-- 5 4 -- Ring graph +#> IGRAPH 665487e UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from 9812caa (vertex names): +#> + edges from 665487e (vertex names): #> [1] a--b b--c c--d d--e #> # make_neighborhood_graph() is an alias of make_ego_graph() make_neighborhood_graph(g, order = 2, 1:3) #> [[1]] -#> IGRAPH abd8fc9 UN-- 5 4 -- Ring graph +#> IGRAPH 7a4ca1c UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from abd8fc9 (vertex names): +#> + edges from 7a4ca1c (vertex names): #> [1] a--b b--c a--j i--j #> #> [[2]] -#> IGRAPH 733e987 UN-- 5 4 -- Ring graph +#> IGRAPH f1f2d63 UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from 733e987 (vertex names): +#> + edges from f1f2d63 (vertex names): #> [1] a--b b--c c--d a--j #> #> [[3]] -#> IGRAPH fa67dad UN-- 5 4 -- Ring graph +#> IGRAPH aaf2be6 UN-- 5 4 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c) -#> + edges from fa67dad (vertex names): +#> + edges from aaf2be6 (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 e24df90407..15fc622c47 100644 --- a/reference/feedback_arc_set.html +++ b/reference/feedback_arc_set.html @@ -142,10 +142,10 @@

Examples

 g <- sample_gnm(20, 40, directed = TRUE)
 feedback_arc_set(g)
-#> + 6/40 edges from a9f6d3f:
+#> + 6/40 edges from b9f0d61:
 #> [1]  6->15  6->19  9->15 11-> 3 16->10 17-> 5
 feedback_arc_set(g, algo = "approx_eades")
-#> + 6/40 edges from a9f6d3f:
+#> + 6/40 edges from b9f0d61:
 #> [1]  6->15  6->19  9->15 11-> 3 16->10 17-> 5
 
diff --git a/reference/get_edge_ids.html b/reference/get_edge_ids.html index fb68ed0957..0e3a0eb889 100644 --- a/reference/get_edge_ids.html +++ b/reference/get_edge_ids.html @@ -125,7 +125,7 @@

Examplesg <- make_ring(10) ei <- get_edge_ids(g, c(1, 2, 4, 5)) E(g)[ei] -#> + 2/10 edges from c5ec959: +#> + 2/10 edges from 4add953: #> [1] 1--2 4--5 ## non-existant edge @@ -139,7 +139,7 @@

Exampleseis #> [1] 5 5 E(g)[eis] -#> + 2/5 edges from acd9cdf: +#> + 2/5 edges from a374640: #> [1] 1->2 1->2

diff --git a/reference/girth.html b/reference/girth.html index 1b0e1fa2e9..ef016bb290 100644 --- a/reference/girth.html +++ b/reference/girth.html @@ -139,7 +139,7 @@

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

Examples#> [1] 100 #> #> $circle -#> + 100/100 vertices, from fc2d9bc: +#> + 100/100 vertices, from ea0afd6: #> [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 @@ -165,7 +165,7 @@

Examples#> [1] 12 #> #> $circle -#> + 12/1000 vertices, from 7c1dae6: +#> + 12/1000 vertices, from 148252c: #> [1] 903 811 514 822 850 938 125 275 732 518 446 475 #> diff --git a/reference/graph_.html b/reference/graph_.html index f6a5f93c78..df9100d6f9 100644 --- a/reference/graph_.html +++ b/reference/graph_.html @@ -72,12 +72,12 @@

Examples#> Warning: `graph_()` was deprecated in igraph 2.1.0. #> Please use constructors directly, for instance graph_from_edgelist(). #> graph_() will be removed in a future version of igraph. -#> IGRAPH e58f0df U--- 6 5 -- -#> + edges from e58f0df: +#> IGRAPH 794ad12 U--- 6 5 -- +#> + edges from 794ad12: #> [1] 1--2 2--3 3--4 4--5 5--6 graph_(cbind(1:5, 2:6), from_edgelist(), directed = FALSE) -#> IGRAPH 6b68c3b U--- 6 5 -- -#> + edges from 6b68c3b: +#> IGRAPH 9638e17 U--- 6 5 -- +#> + edges from 9638e17: #> [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 bdcc942abd..edfed9efd6 100644 --- a/reference/graph_attr-set.html +++ b/reference/graph_attr-set.html @@ -101,9 +101,9 @@

Examples
g <- make_graph(~ A - B:C:D)
 graph_attr(g, "name") <- "4-star"
 g
-#> IGRAPH 7b924eb UN-- 4 3 -- 4-star
+#> IGRAPH 3a88681 UN-- 4 3 -- 4-star
 #> + attr: name (g/c), name (v/c)
-#> + edges from 7b924eb (vertex names):
+#> + edges from 3a88681 (vertex names):
 #> [1] A--B A--C A--D
 
 graph_attr(g) <- list(
diff --git a/reference/graph_center.html b/reference/graph_center.html
index 1e57a90c5c..995574ccc2 100644
--- a/reference/graph_center.html
+++ b/reference/graph_center.html
@@ -107,13 +107,13 @@ 

Examples

tree <- make_tree(100, 7)
 graph_center(tree)
-#> + 2/100 vertices, from 35603b5:
+#> + 2/100 vertices, from eb4f669:
 #> [1] 1 2
 graph_center(tree, mode = "in")
-#> + 1/100 vertex, from 35603b5:
+#> + 1/100 vertex, from eb4f669:
 #> [1] 1
 graph_center(tree, mode = "out")
-#> + 85/100 vertices, from 35603b5:
+#> + 85/100 vertices, from eb4f669:
 #>  [1]  16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31  32  33  34
 #> [20]  35  36  37  38  39  40  41  42  43  44  45  46  47  48  49  50  51  52  53
 #> [39]  54  55  56  57  58  59  60  61  62  63  64  65  66  67  68  69  70  71  72
@@ -123,12 +123,12 @@ 

Examples# Without and with weights ring <- make_ring(10) graph_center(ring) -#> + 10/10 vertices, from a30a02f: +#> + 10/10 vertices, from 2264630: #> [1] 1 2 3 4 5 6 7 8 9 10 # Add weights E(ring)$weight <- seq_len(ecount(ring)) graph_center(ring) -#> + 1/10 vertex, from a30a02f: +#> + 1/10 vertex, from 2264630: #> [1] 7

diff --git a/reference/graph_from_adjacency_matrix.html b/reference/graph_from_adjacency_matrix.html index 5370fc387a..46a2d4b01e 100644 --- a/reference/graph_from_adjacency_matrix.html +++ b/reference/graph_from_adjacency_matrix.html @@ -309,7 +309,7 @@

Examples add.rownames = "code" ) summary(g10) -#> IGRAPH e040db4 DNW- 10 56 -- +#> IGRAPH c0a1f8d DNW- 10 56 -- #> + 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 0654679963..4ae7c5e0ee 100644 --- a/reference/graph_from_atlas.html +++ b/reference/graph_from_atlas.html @@ -127,14 +127,14 @@

See alsoExamples

## Some randomly picked graphs from the atlas
 graph_from_atlas(sample(0:1252, 1))
-#> IGRAPH 488c256 U--- 7 11 -- Graph from the Atlas #766
+#> IGRAPH 7e06dde U--- 7 11 -- Graph from the Atlas #766
 #> + attr: name (g/c), n (g/n)
-#> + edges from 488c256:
+#> + edges from 7e06dde:
 #>  [1] 4--5 1--5 1--2 2--3 3--4 1--6 4--6 1--4 2--6 3--6 6--7
 graph_from_atlas(sample(0:1252, 1))
-#> IGRAPH b100d6a U--- 7 12 -- Graph from the Atlas #893
+#> IGRAPH 685fc0e U--- 7 12 -- Graph from the Atlas #893
 #> + attr: name (g/c), n (g/n)
-#> + edges from b100d6a:
+#> + edges from 685fc0e:
 #>  [1] 1--2 2--3 3--4 5--6 1--5 2--4 2--5 3--5 1--4 4--6 1--3 2--7
 
diff --git a/reference/graph_from_biadjacency_matrix.html b/reference/graph_from_biadjacency_matrix.html index 0b9d905df0..e99f74b28a 100644 --- a/reference/graph_from_biadjacency_matrix.html +++ b/reference/graph_from_biadjacency_matrix.html @@ -150,9 +150,9 @@

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

diff --git a/reference/graph_from_data_frame.html b/reference/graph_from_data_frame.html index 9c833228b3..557cd44cb5 100644 --- a/reference/graph_from_data_frame.html +++ b/reference/graph_from_data_frame.html @@ -194,10 +194,10 @@

Examples) g <- graph_from_data_frame(relations, directed = TRUE, vertices = actors) print(g, e = TRUE, v = TRUE) -#> IGRAPH a32998c DN-- 5 6 -- +#> IGRAPH ad26583 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 a32998c (vertex names): +#> + edges from ad26583 (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 6d304636f2..d509837623 100644 --- a/reference/graph_from_edgelist.html +++ b/reference/graph_from_edgelist.html @@ -110,15 +110,15 @@

See alsoExamples

el <- matrix(c("foo", "bar", "bar", "foobar"), nc = 2, byrow = TRUE)
 graph_from_edgelist(el)
-#> IGRAPH 96b3514 DN-- 3 2 -- 
+#> IGRAPH 886374f DN-- 3 2 -- 
 #> + attr: name (v/c)
-#> + edges from 96b3514 (vertex names):
+#> + edges from 886374f (vertex names):
 #> [1] foo->bar    bar->foobar
 
 # Create a ring by hand
 graph_from_edgelist(cbind(1:10, c(2:10, 1)))
-#> IGRAPH ee57190 D--- 10 10 -- 
-#> + edges from ee57190:
+#> IGRAPH 9ad18c4 D--- 10 10 -- 
+#> + edges from 9ad18c4:
 #>  [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_graphnel.html b/reference/graph_from_graphnel.html index 04172b2c79..748bb7c7a8 100644 --- a/reference/graph_from_graphnel.html +++ b/reference/graph_from_graphnel.html @@ -133,10 +133,10 @@

ExamplesGNEL <- as_graphnel(g) g2 <- graph_from_graphnel(GNEL) g2 -#> IGRAPH d08694d UNW- 10 10 -- Ring graph +#> IGRAPH 108e1ae UNW- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l), name (v/c), weight #> | (e/n) -#> + edges from d08694d (vertex names): +#> + edges from 108e1ae (vertex names): #> [1] a--b a--j b--c c--d d--e e--f f--g g--h h--i i--j ## Directed @@ -145,9 +145,9 @@

ExamplesGNEL2 <- as_graphnel(g3) g4 <- graph_from_graphnel(GNEL2) g4 -#> IGRAPH 92b0cce DNW- 10 9 -- In-star +#> IGRAPH 884fbf1 DNW- 10 9 -- In-star #> + attr: name (g/c), mode (g/c), center (g/n), name (v/c), weight (e/n) -#> + edges from 92b0cce (vertex names): +#> + edges from 884fbf1 (vertex names): #> [1] b->a c->a d->a e->a f->a g->a h->a i->a j->a

diff --git a/reference/graph_from_literal.html b/reference/graph_from_literal.html index 61e54e438b..c7ceaa8d27 100644 --- a/reference/graph_from_literal.html +++ b/reference/graph_from_literal.html @@ -146,18 +146,18 @@

Examples Cecil - Gordon ) g -#> IGRAPH 92f9fce UN-- 6 6 -- +#> IGRAPH c3da492 UN-- 6 6 -- #> + attr: name (v/c) -#> + edges from 92f9fce (vertex names): +#> + edges from c3da492 (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 d6fd852 UN-- 6 7 -- +#> IGRAPH 4b74c6e UN-- 6 7 -- #> + attr: name (v/c) -#> + edges from d6fd852 (vertex names): +#> + edges from 4b74c6e (vertex names): #> [1] Alice --Bob Alice --Cecil Alice --Daniel Cecil --Eugene Cecil --Gordon #> [6] Daniel--Eugene Daniel--Gordon @@ -167,18 +167,18 @@

Examples Eugene --+ Gordon:Helen ) g3 -#> IGRAPH 9eef359 DN-- 7 6 -- +#> IGRAPH 22c5a0f DN-- 7 6 -- #> + attr: name (v/c) -#> + edges from 9eef359 (vertex names): +#> + edges from 22c5a0f (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 3190c22 UN-- 6 2 -- +#> IGRAPH 8d2ae68 UN-- 6 2 -- #> + attr: name (v/c) -#> + edges from 3190c22 (vertex names): +#> + edges from 8d2ae68 (vertex names): #> [1] Alice--Bob Bob --Daniel V(g4)$name #> [1] "Alice" "Bob" "Daniel" "Cecil" "Gordon" "Helen" @@ -186,17 +186,17 @@

Examples# "Arrows" can be arbitrarily long g5 <- graph_from_literal(Alice +---------+ Bob) g5 -#> IGRAPH a5ee6c5 DN-- 2 2 -- +#> IGRAPH 6794983 DN-- 2 2 -- #> + attr: name (v/c) -#> + edges from a5ee6c5 (vertex names): +#> + edges from 6794983 (vertex names): #> [1] Alice->Bob Bob ->Alice # Special vertex names g6 <- graph_from_literal("+" -- "-", "*" -- "/", "%%" -- "%/%") g6 -#> IGRAPH ef86167 UN-- 6 3 -- +#> IGRAPH 7987dad UN-- 6 3 -- #> + attr: name (v/c) -#> + edges from ef86167 (vertex names): +#> + edges from 7987dad (vertex names): #> [1] + --- * --/ %%--%/%

diff --git a/reference/graph_id.html b/reference/graph_id.html index d53793cb57..bf4712cb44 100644 --- a/reference/graph_id.html +++ b/reference/graph_id.html @@ -83,15 +83,15 @@

Value

Examples

g <- make_ring(10)
 graph_id(g)
-#> [1] "01084879-60b9-4fd9-9955-fbddf6bc37a0"
+#> [1] "8eb5899c-7f7c-4c56-b50a-cd8e697dcafc"
 graph_id(V(g))
-#> [1] "01084879-60b9-4fd9-9955-fbddf6bc37a0"
+#> [1] "8eb5899c-7f7c-4c56-b50a-cd8e697dcafc"
 graph_id(E(g))
-#> [1] "01084879-60b9-4fd9-9955-fbddf6bc37a0"
+#> [1] "8eb5899c-7f7c-4c56-b50a-cd8e697dcafc"
 
 g2 <- g + 1
 graph_id(g2)
-#> [1] "0b0eabe0-4cf0-46d0-996b-08a2caae9663"
+#> [1] "c34e67da-9f6e-4005-9ac8-73ee6ae1593c"
 
diff --git a/reference/igraph-es-indexing.html b/reference/igraph-es-indexing.html index 7f61e381cc..90282872cc 100644 --- a/reference/igraph-es-indexing.html +++ b/reference/igraph-es-indexing.html @@ -197,13 +197,13 @@

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

Examplesg <- sample_pa(100, directed = FALSE) d <- get_diameter(g) E(g, path = d) -#> + 11/99 edges from f381bb2: +#> + 11/99 edges from 712242f: #> [1] 53--81 49--53 43--49 4--43 2-- 4 2-- 5 5-- 9 9--14 14--36 36--58 #> [11] 58--85 @@ -220,7 +220,7 @@

Examplesg <- sample_gnp(20, 3 / 20) %>% set_edge_attr("weight", value = rnorm(gsize(.))) E(g)[[weight < 0]] -#> + 19/32 edges from f378441: +#> + 19/32 edges from b38d4bd: #> tail head tid hid weight #> 2 1 6 1 6 -1.0667237 #> 3 5 6 5 6 -2.7731724 @@ -247,7 +247,7 @@

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

diff --git a/reference/igraph-es-indexing2.html b/reference/igraph-es-indexing2.html index 9d09cb1541..2a92470376 100644 --- a/reference/igraph-es-indexing2.html +++ b/reference/igraph-es-indexing2.html @@ -120,10 +120,10 @@

Examples with_edge_(weight = 1:10, color = "green") ) E(g) -#> + 10/10 edges from 4eee3c0 (vertex names): +#> + 10/10 edges from 5759ef2 (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 4eee3c0 (vertex names): +#> + 10/10 edges from 5759ef2 (vertex names): #> tail head tid hid weight color #> 1 A B 1 2 1 green #> 2 B C 2 3 2 green @@ -136,7 +136,7 @@

Examples#> 9 I J 9 10 9 green #> 10 A J 1 10 10 green E(g)[[.inc("A")]] -#> + 2/10 edges from 4eee3c0 (vertex names): +#> + 2/10 edges from 5759ef2 (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 b31354e1a1..f1c76cab76 100644 --- a/reference/igraph-vs-indexing.html +++ b/reference/igraph-vs-indexing.html @@ -215,26 +215,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 f19d99b: +#> + 4/4 vertices, from aa8d818: #> [1] 1 2 3 4 V(g)[.nei(c(2, 4), "in")] -#> + 3/4 vertices, from f19d99b: +#> + 3/4 vertices, from aa8d818: #> [1] 1 2 4 V(g)[.nei(c(2, 4), "out")] -#> + 3/4 vertices, from f19d99b: +#> + 3/4 vertices, from aa8d818: #> [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 a62ada2: +#> + 4/4 vertices, named, from 769c9de: #> [1] A B C D V(g)[.nei(c("B", "D"), "in")] -#> + 3/4 vertices, named, from a62ada2: +#> + 3/4 vertices, named, from 769c9de: #> [1] A B D V(g)[.nei(c("B", "D"), "out")] -#> + 3/4 vertices, named, from a62ada2: +#> + 3/4 vertices, named, from 769c9de: #> [1] B C D # ----------------------------------------------------------------- @@ -242,7 +242,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 a653fbc: +#> + 2/4 vertices, named, from 044f746: #> [1] A B # Indexing with a variable whose name matches the name of an attribute @@ -250,7 +250,7 @@

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

diff --git a/reference/igraph-vs-indexing2.html b/reference/igraph-vs-indexing2.html index ce1efece4f..c6bda9ec1c 100644 --- a/reference/igraph-vs-indexing2.html +++ b/reference/igraph-vs-indexing2.html @@ -118,10 +118,10 @@

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

Examples#> 9 red I #> 10 red J V(g)[1:5] -#> + 5/10 vertices, named, from e97ec61: +#> + 5/10 vertices, named, from bdf860e: #> [1] A B C D E V(g)[[1:5]] -#> + 5/10 vertices, named, from e97ec61: +#> + 5/10 vertices, named, from bdf860e: #> color name #> 1 red A #> 2 red B diff --git a/reference/incident.html b/reference/incident.html index cb1980db83..535f2e4a4f 100644 --- a/reference/incident.html +++ b/reference/incident.html @@ -97,11 +97,11 @@

See alsoExamples

g <- make_graph("Zachary")
 incident(g, 1)
-#> + 16/78 edges from ced267f:
+#> + 16/78 edges from 275d7d4:
 #>  [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 ced267f:
+#> + 17/78 edges from 275d7d4:
 #>  [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 24e42e0465..6ba944d145 100644 --- a/reference/incident_edges.html +++ b/reference/incident_edges.html @@ -100,12 +100,12 @@

Examples
g <- make_graph("Zachary")
 incident_edges(g, c(1, 34))
 #> [[1]]
-#> + 16/78 edges from 499e06d:
+#> + 16/78 edges from 068ebfd:
 #>  [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 499e06d:
+#> + 17/78 edges from 068ebfd:
 #>  [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 c60bb139d8..3e2cfc9a4b 100644
--- a/reference/intersection.igraph.es.html
+++ b/reference/intersection.igraph.es.html
@@ -96,7 +96,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 fb92a1e (vertex names):
+#> + 2/10 edges from f5bb306 (vertex names):
 #> [1] E--F F--G
 
diff --git a/reference/intersection.igraph.html b/reference/intersection.igraph.html index c976dcacac..247427405f 100644 --- a/reference/intersection.igraph.html +++ b/reference/intersection.igraph.html @@ -141,7 +141,7 @@

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

Examples#> | [11] Y #> | [12] X #> | [13] Z -#> + edges from 1016966 (vertex names): +#> + edges from eb6cbb0 (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 173e8b603f..c16504ae4d 100644 --- a/reference/intersection.igraph.vs.html +++ b/reference/intersection.igraph.vs.html @@ -96,7 +96,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 6365d5f (vertex names):
+#> + 2/10 edges from 62f4ee4 (vertex names):
 #> [1] E--F F--G
 
diff --git a/reference/is_chordal.html b/reference/is_chordal.html index 3a5307b29e..d8a3d5e604 100644 --- a/reference/is_chordal.html +++ b/reference/is_chordal.html @@ -152,7 +152,7 @@

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

Examples#> [1] 10 8 9 6 7 5 4 2 3 1 #> #> $alpham1 -#> + 10/10 vertices, named, from d7497b9: +#> + 10/10 vertices, named, from bd8451e: #> [1] J H I G C F D B E A #> is_chordal(g2, fillin = TRUE) diff --git a/reference/is_forest.html b/reference/is_forest.html index 40dd3ae828..696c7b156e 100644 --- a/reference/is_forest.html +++ b/reference/is_forest.html @@ -122,7 +122,7 @@

Examples#> [1] TRUE #> #> $roots -#> + 2/8 vertices, from 9706df8: +#> + 2/8 vertices, from 4d53342: #> [1] 1 4 #> diff --git a/reference/is_named.html b/reference/is_named.html index f64b6e3d6e..e577812ca6 100644 --- a/reference/is_named.html +++ b/reference/is_named.html @@ -95,7 +95,7 @@

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

diff --git a/reference/is_separator.html b/reference/is_separator.html index 4c2594d9d2..5bc9529f44 100644 --- a/reference/is_separator.html +++ b/reference/is_separator.html @@ -108,11 +108,11 @@

Examples
ring <- make_ring(4)
 min_st_separators(ring)
 #> [[1]]
-#> + 2/4 vertices, from 41a427e:
+#> + 2/4 vertices, from 75809c4:
 #> [1] 2 4
 #> 
 #> [[2]]
-#> + 2/4 vertices, from 41a427e:
+#> + 2/4 vertices, from 75809c4:
 #> [1] 1 3
 #> 
 is_separator(ring, 1)
diff --git a/reference/is_tree.html b/reference/is_tree.html
index 8bfae0e761..6beddc219e 100644
--- a/reference/is_tree.html
+++ b/reference/is_tree.html
@@ -123,7 +123,7 @@ 

Examples#> [1] TRUE #> #> $root -#> + 1/7 vertex, from 88b1b0c: +#> + 1/7 vertex, from 9696814: #> [1] 1 #> diff --git a/reference/is_weighted.html b/reference/is_weighted.html index be3b6da901..7107b1d46a 100644 --- a/reference/is_weighted.html +++ b/reference/is_weighted.html @@ -91,7 +91,7 @@

Examplesshortest_paths(g, 8, 2) #> $vpath #> $vpath[[1]] -#> + 5/10 vertices, from d72aaf6: +#> + 5/10 vertices, from 55f02a0: #> [1] 8 9 10 1 2 #> #> @@ -108,7 +108,7 @@

Examplesshortest_paths(g, 8, 2) #> $vpath #> $vpath[[1]] -#> + 7/10 vertices, from d72aaf6: +#> + 7/10 vertices, from 55f02a0: #> [1] 8 7 6 5 4 3 2 #> #> diff --git a/reference/ivs.html b/reference/ivs.html index 83393eb9f2..a436e13f81 100644 --- a/reference/ivs.html +++ b/reference/ivs.html @@ -143,83 +143,83 @@

Examples#> [1] 4 ivs(g, min = ivs_size(g)) #> [[1]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 7 37 55 56 #> #> [[2]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 7 55 56 69 #> #> [[3]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 7 56 69 74 #> #> [[4]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 8 15 73 80 #> #> [[5]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 8 15 73 84 #> #> [[6]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 13 16 37 40 #> #> [[7]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 21 32 45 61 #> #> [[8]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 22 55 56 64 #> #> [[9]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 23 69 75 90 #> largest_ivs(g) #> [[1]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 21 32 45 61 #> #> [[2]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 7 37 55 56 #> #> [[3]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 7 55 56 69 #> #> [[4]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 7 56 69 74 #> #> [[5]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 8 15 73 80 #> #> [[6]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 8 15 73 84 #> #> [[7]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 22 55 56 64 #> #> [[8]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 23 69 75 90 #> #> [[9]] -#> + 4/100 vertices, from 4bbdfeb: +#> + 4/100 vertices, from 080a01d: #> [1] 13 16 37 40 #> # Empty graph induced_subgraph(g, largest_ivs(g)[[1]]) -#> IGRAPH ccf2a23 U--- 4 0 -- Erdos-Renyi (gnp) graph +#> IGRAPH c3c2942 U--- 4 0 -- Erdos-Renyi (gnp) graph #> + attr: name (g/c), type (g/c), loops (g/l), p (g/n) -#> + edges from ccf2a23: +#> + edges from c3c2942: length(max_ivs(g)) #> [1] 326 diff --git a/reference/keeping_degseq.html b/reference/keeping_degseq.html index 12b4d088c1..16a07d5019 100644 --- a/reference/keeping_degseq.html +++ b/reference/keeping_degseq.html @@ -98,7 +98,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 7a687a2 U--- 10 10 -- Ring graph +#> IGRAPH f1a572f U--- 10 10 -- Ring graph #> + attr: name (g/c), mutual (g/l), circular (g/l) #> + graph attributes: #> | + name: @@ -107,7 +107,7 @@

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

diff --git a/reference/make_bipartite_graph.html b/reference/make_bipartite_graph.html index ea2298f12b..bbc63119f5 100644 --- a/reference/make_bipartite_graph.html +++ b/reference/make_bipartite_graph.html @@ -121,9 +121,9 @@

Examples

 g <- make_bipartite_graph(rep(0:1, length.out = 10), c(1:10))
 print(g, v = TRUE)
-#> IGRAPH cbceb8c U--B 10 5 -- 
+#> IGRAPH a0b1f39 U--B 10 5 -- 
 #> + attr: type (v/l)
-#> + edges from cbceb8c:
+#> + edges from a0b1f39:
 #> [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 ac7eca5edb..03b86ae699 100644 --- a/reference/make_de_bruijn_graph.html +++ b/reference/make_de_bruijn_graph.html @@ -103,14 +103,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 3e2b83b D--- 4 8 -- De-Bruijn graph 2-2 +#> IGRAPH 6546735 D--- 4 8 -- De-Bruijn graph 2-2 #> + attr: name (g/c), m (g/n), n (g/n) -#> + edges from 3e2b83b: +#> + edges from 6546735: #> [1] 1->1 1->2 2->3 2->4 3->1 3->2 4->3 4->4 make_line_graph(g) -#> IGRAPH ff5563e D--- 4 8 -- Line graph +#> IGRAPH b700e5b D--- 4 8 -- Line graph #> + attr: name (g/c) -#> + edges from ff5563e: +#> + edges from b700e5b: #> [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 2dbc35e176..defc0cce04 100644 --- a/reference/make_empty_graph.html +++ b/reference/make_empty_graph.html @@ -98,11 +98,11 @@