getNodeCount,RCyjs-method {RCyjs} | R Documentation

## getNodeCount

### Description

`getNodeCount` the number of nodes in the current cytoscape.js graph

### Usage

    ## S4 method for signature 'RCyjs'
    getNodeCount(obj)

### Arguments

`obj` | RCyjs instance

### Value

numeric count

### Examples

    if(interactive()){
       rcy <- RCyjs(title="rcyjs demo", graph=simpleDemoGraph())
       getNodeCount(rcy)
       }

[Package RCyjs version 2.9.3 Index]