as_polygon: Layout as a polygon

as_polygonR Documentation

Layout as a polygon

Description

Layout as a polygon

Usage

as_polygon(n = 3, line_curved = 0.5)

Arguments

n

how many edges of this polygon

line_curved

line_curved 0~0.5

Value

A two-column matrix, each row giving the coordinates of a vertex, according to the ids of the vertex ids.

See Also

Other layout: as_arc(), as_circle_tree(), as_line(), as_polyarc(), as_polycircle(), c_net_layout()

Examples

as_polygon()(co_net)

MetaNet documentation built on May 29, 2024, 1:21 a.m.