Nanoseb / pyvis

Python package for creating and visualizing interactive network graphs.

Home Page:http://pyvis.readthedocs.io/en/latest/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pyvis - a Python library for visualizing networks

Description

Pyvis is built around visjs, a JavaScript visualization library.

Documentation

Pyvis' full documentation can be found at http://pyvis.readthedocs.io/en/latest/

Installation

You can install pyvis through pip:

pip install pyvis

Or if you have an archive of the project simply run the following from the top level directory:

python setup.py install

Dependencies

networkx

jinja2

ipython

Quick Start

The most basic use case of a pyvis instance is to create a Network object and invoke methods:

from pyvis.network import Network

g = Network()
g.add_node(0)
g.add_node(1)
g.add_edge(0, 1)
g.show("basic.html")

Interactive Notebook playground with examples

Binder

About

Python package for creating and visualizing interactive network graphs.

http://pyvis.readthedocs.io/en/latest/

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:HTML 55.1%Language:Python 36.5%Language:Makefile 4.3%Language:Jupyter Notebook 4.1%