Generates network graphs from a JSON.