UbuS: Widgets

Graphlytic functionality can be extended by widgets. You can create and deploy your own widgets. Widget is group of javascript, css and html files.

Be careful about content of these custom files because deploy of these files can cause security vulnerability of Graphlytic.

1. Deploy widget

  1. Prepare your widget files. Supported file extensions are: css, html, js

    1. Choose widget ID (e.g. myWidget). Do not use "_" as prefix.

    2. Name your files using your widget ID, e.g. "myWidget.css", "myWidget.html" and "myWidget.js". You can have only 1 file of each type (css, html, js) but you don't need to have all types, so your widget can be only the js file when you don't need custom html and css functionality.

  2. There is no need to stop Graphlytic.

  3. Locate "widgets" directory, see "graphlytic.conf" to find where is the location of this directory.

  4. Create subdirectory in this directory using your widget ID as the subdirectory name, e.g. "myWidget".

  5. Copy prepared files into this created subdirectory.

  6. Enable and configure widget in Widgets settings.