Installation¶
You can install nx-vis-visualizer
using pip
. It's recommended to use a virtual environment.
Using pip
¶
Once the package is available on PyPI:
If you have cloned the repository locally and want to install it in editable mode (recommended for development):
Using uv
(for development)¶
If you are contributing to the project or prefer uv
for environment management:
-
Clone the repository (if you haven't already):
-
Create and activate a virtual environment:
-
Install the package in editable mode with development dependencies: This will also install tools for testing, linting, and documentation.
Dependencies¶
nx-vis-visualizer
primarily depends on:
- NetworkX: For graph creation and manipulation.
The generated HTML files rely on the vis.js Network library, which is loaded from a CDN by default, so you don't need to install it separately.