NetworkDiagram
A lightweight Python library for creating Project Network Diagrams (CPM/PERT), calculating paths, and visualizing activity dependencies using NetworkX and Matplotlib.
Features
- Easy Node Management: Add activities with durations and string-based predecessor lists (e.g.,
"A,B"). - Automatic Pathfinding: Detects all probable paths from Start to End.
- Visualisation: Generates directed graphs with arrows and duration labels using
matplotlib. - CPM Ready: Built on a node structure supporting Probable Paths, Critical Path.
Publisher
- Name: Kathan Majithia
- Contact: kathanmajithia@gmail.com
Dependencies
To use the visualization features, you must have the following libraries installed:
- networkx (for graph theory and structure)
- matplotlib (for plotting the diagram)
Installation
pip install networkdiagram
from networkdiagram import CriticalPathMethod
cpm = CriticalPathMethod()
activities = ['A','B','C','D']
durations = [2,5,4,2]
predecessors = ['-','A','B','B,C']
cpm.add_activities_relations(activities,durations,predecessors)
Metadata
Release files for networkdiagram 1.9.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| networkdiagram-1.9.5.tar.gz | 4.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| networkdiagram-1.9.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.7 kB
Release files / networkdiagram-1.9.5.tar.gz
| Download URL | networkdiagram-1.9.5.tar.gz |
|---|---|
| Size | 4.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e5720f677efd7947de138565609aa67f0698ae40fd493d33711ab7e185431abe
|
|
BLAKE2b-256 checksum How to use checksums |
31f45e3b5cd40fdd417dc5ef6094e3b00a4ec9b44862ea3d53b95548af8ddedf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.0
|
Release files / networkdiagram-1.9.5-py3-none-any.whl
| Download URL | networkdiagram-1.9.5-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
def9320172b47e929e1127530f96a4591344410b87008b6384f0f7930889d493
|
|
BLAKE2b-256 checksum How to use checksums |
da192c81e69298dc4ebd733b7d39100afa2696e54593c4e420727ba5bd9c16b0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.0
|