geom_area()
geom_bar()
geom_line()
geom_point()
geom_polygon()
geom_histogram()
geom_rect()
geom_tile()
geom_raster()
geom_text()
sf
tbl_graph
&
geom_sf()
stat_...()
plot()
A second example with more features:
hs_graph <- hs_graph %>% tidygraph::activate(edges) %>% mutate(edge_weights = runif(n())) ggraph(hs_graph, layout = "stress", weights = edge_weights) + geom_edge_link(aes(alpha = edge_weights)) + geom_node_point() + scale_edge_alpha_identity()