[7a0be0]: / man / as_arc.Rd

Download this file

36 lines (34 with data), 772 Bytes

 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/3-1.layout.R
\name{as_arc}
\alias{as_arc}
\title{Layout as a arc}
\usage{
as_arc(angle = 0, arc = pi)
}
\arguments{
\item{angle}{anticlockwise rotation angle}
\item{arc}{the radian of arc}
}
\value{
A two-column matrix, each row giving the coordinates of a vertex, according to the ids of the vertex ids.
}
\description{
Layout as a arc
}
\examples{
as_arc()(co_net)
c_net_plot(co_net, coors = as_arc(pi / 2))
}
\seealso{
Other layout:
\code{\link{as_circle_tree}()},
\code{\link{as_line}()},
\code{\link{as_multi_layer}()},
\code{\link{as_poly_sector}()},
\code{\link{as_polyarc}()},
\code{\link{as_polycircle}()},
\code{\link{as_polygon}()},
\code{\link{c_net_layout}()}
}
\concept{layout}