Skip to main content

Network Graph using D3js with grouping of nodes and elastic edges.

Project description

Force Graph using D3js.

How to use

from elasticgraph import Elasticgraph

# Initialize
d3 = Elasticgraph()

# Load karate example
adjmat, _ = d3.import_example('karate')

# Initialize
d3.graph(adjmat)

# Plot
d3.show()

Installation

To install elasticgraph, do:

pip install elasticgraph

To install elasticgraph from Gitlab source, do:

git clone https://gitlab.com/rwsdatalab/public/codebase/tools/elasticgraph.git
cd elasticgraph
pip install .

Run tests (including coverage) with:

pip install -r requirements-dev.txt
python setup.py test

Documentation

Include a link to your project’s full documentation here.

License

Copyright (c) 2022, Rijkswaterstaat

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

elasticgraph-0.2.0.tar.gz (82.3 kB view hashes)

Uploaded Source

Built Distribution

elasticgraph-0.2.0-py3-none-any.whl (82.8 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