The software is a static SPA that needs to be built with a custom grunt toolchain.
It is designed to be responsive in order to support both the mobile and the embedded version a well.
It does include a permalink mechanism allowing to share specific application states as well as to ease the internal embedding (i.e. within each org profile page).
The application will gather the dataset through two API calls.
npm install
cd /app
npm install
grunt dev
grunt build
http-server
npm version patch
grunt build
The embed code can be used to embed a specific application view. Some parameters can be configured, see below:
<style>.embed-container { position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; max-width: 100%; } .embed-container iframe, .embed-container object, .embed-container embed { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style><div class='embed-container'><iframe src='https://dsitest.todo.to.it/viz/#/network?l=0&e=1&org=267' style='border:0'></iframe></div>
Available params:
- org=<organization_id>
- prj=<project_id>