a b/man/as_arc.Rd
1
% Generated by roxygen2: do not edit by hand
2
% Please edit documentation in R/3-1.layout.R
3
\name{as_arc}
4
\alias{as_arc}
5
\title{Layout as a arc}
6
\usage{
7
as_arc(angle = 0, arc = pi)
8
}
9
\arguments{
10
\item{angle}{anticlockwise rotation angle}
11
12
\item{arc}{the radian of arc}
13
}
14
\value{
15
A two-column matrix, each row giving the coordinates of a vertex, according to the ids of the vertex ids.
16
}
17
\description{
18
Layout as a arc
19
}
20
\examples{
21
as_arc()(co_net)
22
c_net_plot(co_net, coors = as_arc(pi / 2))
23
}
24
\seealso{
25
Other layout: 
26
\code{\link{as_circle_tree}()},
27
\code{\link{as_line}()},
28
\code{\link{as_multi_layer}()},
29
\code{\link{as_poly_sector}()},
30
\code{\link{as_polyarc}()},
31
\code{\link{as_polycircle}()},
32
\code{\link{as_polygon}()},
33
\code{\link{c_net_layout}()}
34
}
35
\concept{layout}