Force Directed Graph Output with the JavaScript

Description

Makes a reactive version of the given function that returns a graph object of qrage. 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

1
renderQrage(expr,env = parent.frame(),quoted = FALSE)

Arguments

expr

An expression that returns a graph object of qrage package.

env

The environment in which o ecaluate expr.

quoted

Is expr a quoted expression(with quote())? This is useful if you want to save an expression in a variable.

Examples

1
2
3
4
5
6
7