as_polygon {MetaNet}R 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)

[Package MetaNet version 0.1.2 Index]