Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

component_wise

Component-wise layout


Description

This is a layout modifier function, and it can be used to calculate the layout separately for each component of the graph.

Usage

component_wise(merge_method = "dla")

Arguments

merge_method

Merging algorithm, the method argument of merge_coords.

See Also

Other layout modifiers: normalize()

Examples

g <- make_ring(10) + make_ring(10)
g %>%
  add_layout_(in_circle(), component_wise()) %>%
  plot()

igraph

Network Analysis and Visualization

v1.2.10
GPL (>= 2)
Authors
See AUTHORS file.
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.