Learn R Programming

RGraph2js (version 1.0.0)

getJSCode: 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