add_edge_zindex: Modify the edge zIndex of a sgraph object.

View source: R/sigma_attrs.R

add_edge_zindexR 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


sgraph documentation built on Sept. 12, 2024, 7:06 a.m.