|
a |
|
b/man/as_polygon.Rd |
|
|
1 |
% Generated by roxygen2: do not edit by hand |
|
|
2 |
% Please edit documentation in R/3-1.layout.R |
|
|
3 |
\name{as_polygon} |
|
|
4 |
\alias{as_polygon} |
|
|
5 |
\title{Layout as a polygon} |
|
|
6 |
\usage{ |
|
|
7 |
as_polygon(n = 3, line_curved = 0.5) |
|
|
8 |
} |
|
|
9 |
\arguments{ |
|
|
10 |
\item{n}{how many edges of this polygon} |
|
|
11 |
|
|
|
12 |
\item{line_curved}{line_curved 0~0.5} |
|
|
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 polygon |
|
|
19 |
} |
|
|
20 |
\examples{ |
|
|
21 |
as_polygon()(co_net) |
|
|
22 |
} |
|
|
23 |
\seealso{ |
|
|
24 |
Other layout: |
|
|
25 |
\code{\link{as_arc}()}, |
|
|
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{c_net_layout}()} |
|
|
33 |
} |
|
|
34 |
\concept{layout} |