add_layout_: Add layout to graph

Description Usage Arguments Value See Also Examples

View source: R/layout.R

Description

Add layout to graph

Usage

1
add_layout_(graph, ..., overwrite = TRUE)

Arguments

graph

The input graph.

...

Additional arguments are passed to layout_.

overwrite

Whether to overwrite the layout of the graph, if it already has one.

Value

The input graph, with the layout added.

See Also

layout_ for a description of the layout API.

Other graph layouts: component_wise(), layout_as_bipartite(), layout_as_star(), layout_as_tree(), layout_in_circle(), layout_nicely(), layout_on_grid(), layout_on_sphere(), layout_randomly(), layout_with_dh(), layout_with_fr(), layout_with_gem(), layout_with_graphopt(), layout_with_kk(), layout_with_lgl(), layout_with_mds(), layout_with_sugiyama(), layout_(), merge_coords(), norm_coords(), normalize()

Examples

1
2
3

Example output

Attaching package: 'igraph'

The following objects are masked from 'package:stats':

    decompose, spectrum

The following object is masked from 'package:base':

    union

igraph documentation built on March 19, 2020, 5:13 p.m.

Related to add_layout_ in igraph...