File: component_wise.Rd

package info (click to toggle)
r-cran-igraph 2.1.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 27,044 kB
  • sloc: ansic: 204,981; cpp: 21,711; fortran: 4,090; yacc: 1,229; lex: 519; sh: 52; makefile: 8
file content (54 lines) | stat: -rw-r--r-- 1,486 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/layout.R
\name{component_wise}
\alias{component_wise}
\title{Component-wise layout}
\usage{
component_wise(merge_method = "dla")
}
\arguments{
\item{merge_method}{Merging algorithm, the \code{method}
argument of \code{\link[=merge_coords]{merge_coords()}}.}
}
\description{
This is a layout modifier function, and it can be used
to calculate the layout separately for each component
of the graph.
}
\examples{
g <- make_ring(10) + make_ring(10)
g \%>\%
  add_layout_(in_circle(), component_wise()) \%>\%
  plot()
}
\seealso{
\code{\link[=merge_coords]{merge_coords()}}, \code{\link[=layout_]{layout_()}}.

Other layout modifiers: 
\code{\link{normalize}()}

Other graph layouts: 
\code{\link{add_layout_}()},
\code{\link{layout_}()},
\code{\link{layout_as_bipartite}()},
\code{\link{layout_as_star}()},
\code{\link{layout_as_tree}()},
\code{\link{layout_in_circle}()},
\code{\link{layout_nicely}()},
\code{\link{layout_on_grid}()},
\code{\link{layout_on_sphere}()},
\code{\link{layout_randomly}()},
\code{\link{layout_with_dh}()},
\code{\link{layout_with_fr}()},
\code{\link{layout_with_gem}()},
\code{\link{layout_with_graphopt}()},
\code{\link{layout_with_kk}()},
\code{\link{layout_with_lgl}()},
\code{\link{layout_with_mds}()},
\code{\link{layout_with_sugiyama}()},
\code{\link{merge_coords}()},
\code{\link{norm_coords}()},
\code{\link{normalize}()}
}
\concept{graph layouts}
\concept{layout modifiers}