layout.bipartite: Simple two-row layout for bipartite graphs

View source: R/layout.R

layout.bipartiteR Documentation

Simple two-row layout for bipartite graphs

Description

[Deprecated]

layout.bipartite() was renamed to layout_as_bipartite() to create a more consistent API.

Usage

layout.bipartite(graph, types = NULL, hgap = 1, vgap = 1, maxiter = 100)

Arguments

graph

The bipartite input graph. It should have a logical ‘type’ vertex attribute, or the types argument must be given.

types

A logical vector, the vertex types. If this argument is NULL (the default), then the ‘type’ vertex attribute is used.

hgap

Real scalar, the minimum horizontal gap between vertices in the same layer.

vgap

Real scalar, the distance between the two layers.

maxiter

Integer scalar, the maximum number of iterations in the crossing minimization stage. 100 is a reasonable default; if you feel that you have too many edge crossings, increase this.


igraph documentation built on Oct. 20, 2024, 1:06 a.m.