Skip to main content

Interactive Network Visualizations

Project description

BuildTest PyPi License Downloads PythonVersion

Interactive Network Visualizations

This tool leverages the amazing vis-network library (https://visjs.github.io/vis-network/docs/network/) to provide interactive visualizations.

Installation

pip install pyvis-network

Sample Usage

>>> from pyvis_network import network, dataset
>>> nodes_df, edges_df = dataset().load_as_df("Example1")
>>> graph1 = network(title="Example1").add_df(nodes_df=nodes_df,edges_df=edges_df)
>>> graph1.show("example1.html")
>>> graph2 = graph1.clone_graph()
>>> graph2.show("example1_cloned.html")
>>> from pyvis_network import network, dataset
>>> nodes_df, edges_df = dataset().load_as_df("Machine_Learning")
>>> network(title="Machine Learning").add_df(nodes_df=nodes_df,edges_df=edges_df).show("ml.html")

Sample Screenshot

Example1

image1

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyvis-network-0.0.6.tar.gz (48.4 kB view hashes)

Uploaded Source

Built Distribution

pyvis_network-0.0.6-py3-none-any.whl (49.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page