[#79107626] Creates the debug graph visitor

dont use
for ( var x in y ) but instead 
var keys = Objects.keys( y );
for ( var i = 0; i < keys.lenght; i++ ) {
   var element = y[ keys[ i ] ];
}

check in the osgjs code if you need more examples