Installation
First you need to install Julia. MIToS' stable version can be installed by typing on the Julia REPL:
using Pkg
Pkg.add("MIToS")
If everything goes well with the installation, MIToS will be loaded without errors by typing:
using MIToS
To update MIToS to the latest version, you can run:
using Pkg
Pkg.update("MIToS")
- Julia REPL : Built-in Julia command line. Start a Julia interactive session (REPL) by double-clicking the Julia executable or running
julia
from the system command line. - IJulia : Jupyter/IPython notebook for Julia.
- Pluto : A simple reactive notebook for Julia.
- VS Code Extension for Julia : The Julia's Integrated Development Environment (IDE).
Optionally, you can run the test suite to ensure everything works as expected. The test suite is extensive and can take several minutes to run. It is the same test suite used for MIToS' continuous integration (CI), so everything should pass. To run the test suite, execute using Pkg; Pkg.test("MIToS")
in the Julia REPL.
Plots installation
Julia plotting capabilities are available through external packages. MIToS makes use of RecipesBase to define plot recipes, which can be plotted using Plots and its different backends. You need to install Plots to plot MIToS objects:
using Pkg
Pkg.add("Plots")
Once it is installed, you need to load Plots in order to use the plot
function. There is more information about it in the Plots documentation.
using Plots
To generate graph (network), arc and chord (circo) plots, you also need to install and load GraphRecipes.
using Pkg
Pkg.add("GraphRecipes")
using GraphRecipes
You can look for examples in the GraphRecipes documentation.