This package adds visualization tools to GAP that can be used either in Jupyter notebooks or from the GAP REPL. These include standard line and bar graphs, pie charts, scatter plots, and graphs in the vertices-and-edges sense.
In a Jupyter notebook, these visualizations are implemented by importing existing JavaScript visualization libraries into the notebook as needed, based on the kind of visualization requested by the GAP code.
Outside of the notebook, a visualization command creates a temporary HTML file with the Javascript code and JSON data needed to build the visualization, then displays it using the system default web browser.
The architecture of the package is such that additional JavaScript visualization libraries can be added easily.
The package does not need to be compiled.
See the manual on the package website, which contains many usage examples.
Or experiment with a live Jupyter notebook on Binder: . (It can be a long loading time, so have patience!)
- Nathan Carter
This GAP package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.