Basic Usage
Garet Claborn edited this page Sep 14, 2013
·
1 revision
In a jQuery enabled JavaScript file OR With your own "Document Ready" function OR After your Stage element is surely defined in the body.
$(function() { MyMap=new NodeMap('http://service.approachfoundation.org/Treedata.php'); });
Next you will need an HTML file with and appropriate place for a Raphael paper to exist. Give this HTML element id="Stage" or alter constellation.js call.init() function
Later I will add support for the syntax $(element).Constellation.call.init(webservice);
<body bgcolor="#000000" style="background-color: #000;">
<div id="Stage" style="background-color: #888; height: 100%"><div>
</body>