I am building a visual node-edge network based on data received from an ajax call. When the data is generated within the same php/js file (no ajax call), it is built and dis