Unlimited learning, half price | 50% off
Get 50% off unlimited learning

qrage (version 1.0)

qrageOutput: Create a D3 JavaScript Force Directed Graph output element

Description

Render a renderQrage within an application page. D3 JavaScript was created by Michael Bostock. See http://d3js.org/ and, more specifically for Force Directed Graph https://github.com/mbostock/d3/wiki/Force-Layout.

Usage

qrageOutput(outputId,width='100%',height='400px')

Arguments

outputId
output variable to read the graph object from
width
Width for the graph area in pixels. Defaults to '100%'.
height
Height for the graph area in pixels. Defaults to 400px.

Examples

Run this code
qrageOutput("d",width='100%',height='400px')

Run the code above in your browser using DataLab