# Convert a Graph into a D3js Script

## Documentation for package ‘RGraph2js’ version 1.6.0

- DESCRIPTION file.
- User guides, package vignettes and other documentation.
- Package NEWS.

## Help Pages

generateOptionsJSCode | Generate javascript code based on general options, options for containers and network data
getAdjMat | Get a RGraph2js compatible adjacency matrix from the provided R object.
getDefaultOptions | Generate a list containing parameters for the D3js component's options with default values
getDefaultToolParameters | Function wich generates a list containing parameters for Tools in the D3js component with default values
getEdgesDataFrame | Create Edges 'data.frame' from Adjacency matrix and properties
getHTMLContainerCode | Generate a HTML table node code for component based on template
getHTMLStyleCode | Generate a HTML style code for component based on template
getJSCode | Generate javascript code based on general options and network data
getNodesDataFrame | Create Nodes 'data.frame' from Adjacency matrix and properties for specific nodes
getUUID | Function wich generates a UUID version 4
graph2js | Generate the JSON code using D3js that draws A network from Adjacency matrix and edges, nodes properties.
graph2json | Generates JSON string correponding the the graph description