add_node_hidden: Modify the node visibility of a sgraph object.

add_node_hiddenR Documentation

Modify the node visibility of a sgraph object.

Description

Modify the node hidden attribute of an existing sgraph object. The sgraph R package extends the sigma.js library to enable hidden nodes that will appear upon clicking on their parent group.

Usage

add_node_hidden(sigma_obj, hidden_attr)

Arguments

sigma_obj

sgraph object, returned by sigma_from_igraph function

hidden_attr

Attribute to use to set node hidden value

Value

sgraph object with modified node hidden atribute


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