add_node_hidden {sgraph}R 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


[Package sgraph version 1.0.0 Index]