-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Description
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
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))
What I am looking for is
- right to left orientation instead of top-down.
- All "to" nodes must be aligned on top of each other
- As you noticed, the branching sometimes happens from the same node, so may be different edges can be specified like arc if this happened.
I really appreciate some guidance on this.
Thank you!
Metadata
Metadata
Assignees
Labels
No labels