edges | R Documentation |
Edges of a graph
edges(graph)
graph |
The graph |
Data frame of edge data and metadata. The tail and head vertices are in the fist two columns. The rest of the columns are metadata.
Other simple queries:
adjacent_vertices()
,
order()
,
vertices()
bridges <- graph(list(
"Altstadt-Loebenicht" = c(
"Kneiphof",
"Kneiphof",
"Lomse"
),
"Kneiphof" = c(
"Altstadt-Loebenicht",
"Altstadt-Loebenicht",
"Vorstadt-Haberberg",
"Vorstadt-Haberberg",
"Lomse"
),
"Vorstadt-Haberberg" = c(
"Kneiphof",
"Kneiphof",
"Lomse"
),
"Lomse" = c(
"Altstadt-Loebenicht",
"Kneiphof",
"Vorstadt-Haberberg"
)
))
edges(bridges)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.