I am trying to have a specific absolute location layout. Is it possible?
graph <- as_tbl_graph(
data.frame( from = c("1", "1", "1", "50", "5"),
to = c("200", "100", "50", "5", "2"))
)
graph
layout <- create_layout(graph, layout = "tree" )
ggraph(graph, layout) +
geom_edge_bend() +
geom_node_point() +
geom_node_label(aes(label = as.data.frame(graph)$name))
I really appreciate some guidance on this.
Hello,
I am trying to have a specific absolute location layout. Is it possible?
For example I have this code that will create at tree with top-down
What I am looking for is
I really appreciate some guidance on this.
Thank you!