add_edge_zindex {sgraph}R Documentation

Modify the edge zIndex of a sgraph object.

Description

Modify the edge zIndex

Usage

add_edge_zindex(sigma_obj, zindex)

Arguments

sigma_obj

sgraph object

zindex

Zindex value, larger is drawn above.

Value

sgraph

Examples

library(igraph)
library(sgraph)

data(lesMis)

sig <- sigma_from_igraph(igraph = lesMis) %>%
  add_edge_zindex(zindex = 2)
sig


[Package sgraph version 1.0.0 Index]