Nodes are the vertices in the graph that are shared by "arcs".

sc_node(x, ...)

# S3 method for SC
sc_node(x, ...)

# S3 method for SC0
sc_node(x, ...)

# S3 method for default
sc_node(x, ...)

# S3 method for PATH
sc_node(x, ...)

# S3 method for ARC
sc_node(x, ...)

Arguments

x

input object

...

arguments for methods

Value

data frame of the nodes

Examples

sc_node(ARC(minimal_mesh))
#> # A tibble: 2 × 1
#>   vertex_
#>   <chr>  
#> 1 X10wey 
#> 2 fnzIAo 
sc <- SC(routes)
library(dplyr)
plot(sc)
sc_node(sc) %>% inner_join(sc$vertex) %>% select(x_, y_) %>% points()
#> Joining, by = "vertex_"