Added js code to ganetiviz/js: graph & utility-functions
Refs #13569