GAP (Francy) - Chapter 1: Introduction

Goto Chapter: Top 1 2 3 4 5 6 7 8 9 Ind
[Top of Book] [Contents] [Previous Chapter] [Next Chapter]

[MathJax off]

1 Introduction
1.1 Francy
1.2 Applications
1.3 Functionality
1.4 Installation
1.5 How it works
1.6 Publications

### 1 Introduction

#### 1.1 Francy

Francy arose from the necessity of having a lightweight framework forbuilding interactive graphics, generated from GAP, running primarily on theweb, primarily in a Jupyter Notebook. An initial attempt to re-use XGAP andport it was made, but the lack of a standardized data exchange format betweenGAP and the graphics renderer, and the simplistic initial requirements of the project were the basis for the creation of a new GAP package.

#### 1.2 Applications

Francy has potentially many applications and can be Francy 3 used to provide a graphical representation of data structures, allowing one to navigate through and explore properties or relations of these structures. In this way, Francy can be used to enrich a learning environment where GAP provides a library of thousands of functions implementing algebraic algorithms as well as large data libraries of algebraic objects. Example packages using Francy: FrancyMonoids, SubgroupLattice

#### 1.3 Functionality

Francy provides an interface to draw graphics using objects. This interface is based on simple concepts of drawing and graph theory, allowing the creation of directed and undirected graphs, trees, line charts, bar charts and scatter charts. These graphical objects are drawn inside a canvas that includes a space for menus and to display informative messages. Within the canvas it is possible to interact with the graphical objects by clicking, selecting, dragging and zooming

#### 1.4 Installation

This package requires the GAP packages JupyterKernel and json, all of which are distributed with GAP. Francy follows a similar installation procedure to JupyterKernel, so it requires Jupyter to be installed on your system. Please note, you need to run the installation command from the same python version Jupyter is installed on. In order to install Francy, please run the following command to download the latest version available from https://pypi.org/:

          pip install jupyter_francy -U

It is necessary to enable Francy on your Jupyter installation:

          jupyter nbextension enable --py --sys-prefix jupyter_francy

#### 1.5 How it works

Francy requires a rendering package to display graphics. Francy uses Renderers based on d3.js and Graphviz, for rendering the semantic representation produced by the GAP package. This library is distributed both as a browser module and as a Jupyter extension. The Jupyter extension can be used in Jupyter Notebooks or Jupyter Lab, using the JupyterKernel and the MIME type application/vnd.francy+json to render the document Please check the documentation for more information: JavaScript Documentation.

#### 1.6 Publications

ICMS 2018

[Top of Book] [Contents] [Previous Chapter] [Next Chapter]
Goto Chapter: Top 1 2 3 4 5 6 7 8 9 Ind

generated by GAPDoc2HTML