Getting started

Setup

<html>
  <head>
    <script type="text/javascript" src="js-graph-it.js"></script>
  </head>
  <body onload="initPageObjects();">
  </body>
</html>

The first thing to do to use js-graph-it in your html page is to import the js-graph-it.js file.

In order to activate js-graph-it, the only javascript code required is the invocation of the function initPageObjects(). Place it into the onload attribute of the body tag.