如果您从 R 中使用 igraph,请使用此选项
add_layout_ {igraph} | R 文档 |
向图添加布局
add_layout_(graph, ..., overwrite = TRUE)
图 |
输入图。 |
... |
额外的参数会传递给 |
overwrite |
是否覆盖图的布局,如果图已经有布局。 |
添加布局后的输入图。
关于布局 API 的描述,请参阅 layout_
。
其他图布局: component_wise()
, layout_as_bipartite()
, layout_as_star()
, layout_as_tree()
, layout_in_circle()
, layout_nicely()
, layout_on_grid()
, layout_on_sphere()
, layout_randomly()
, layout_with_dh()
, layout_with_fr()
, layout_with_gem()
, layout_with_graphopt()
, layout_with_kk()
, layout_with_lgl()
, layout_with_mds()
, layout_with_sugiyama()
, layout_()
, merge_coords()
, norm_coords()
, normalize()
(make_star(11) + make_star(11)) %>%
add_layout_(as_star(), component_wise()) %>%
plot()