1

Does anyone know how to change the layout direction of a graph in Diagrammer 0.9?

I used to do it this way, but this appears not to be working anymore in the latest version.

create_graph(nodes_df, edges_df) %>%
        add_global_graph_attrs(attr = "rankdir",value =  "LR",attr_type =  "graph")
zx8754
  • 52,746
  • 12
  • 114
  • 209
GJW
  • 56
  • 3

1 Answers1

0

See here for usage of set_global_graph_attrs and magrittr::%>%: https://stackoverflow.com/a/42676248/6816220

Community
  • 1
  • 1
larnsce
  • 103
  • 8