getJSCode {RGraph2js} | R Documentation

## Generate javascript code based on general options and network data

### Description

Generate javascript code based on general options and network data

### Usage

    getJSCode(dataJson, id, opts, toolParam)

### Arguments

`dataJson` | `list` containing network data for nodes and links
`id` | String for component identification
`opts` | `list` containing general options for GraphRender component
`toolParam` | `list` containing urls to jquery, jquery-ui, d3js, GraphRender JS library, options for the GraphRender tool

### Value

String corresponding to JS code

### Author(s)

Sylvain Gubian DL.RSupport@pmi.com

[Package RGraph2js version 1.16.0 Index]