Filter nodes and/or edges.

sg_filter_gt_p(proxy, input, var, target = "nodes")

sg_filter_lt_p(proxy, input, var, target = "nodes")

Arguments

proxy

An object of class sigmajsProxy as returned by sigmajsProxy.

input

A Shiny input.

var

Variable to filter.

target

Target of filter, nodes, edges, or both.

Functions

  • sg_filter_gt_p Filter greater than var.

  • sg_filter_lt_p Filter less than var.

Examples

# demo("filter-nodes", package = "sigmajs")