Skip to content

Commit 3422510

Browse files
terapyonterapyon
authored andcommitted
fix ruff check
1 parent 520a7cd commit 3422510

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGES.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## 0.5.0 (2025-12-22)
3+
## 0.5.0 (2025-12-24)
44

55
**Major Feature Release: NetworkX Plotter API** (terapyon)
66

@@ -63,10 +63,12 @@ plotter.add_networkx(G,
6363
### Dependencies
6464

6565
**Core:**
66+
6667
- NetworkX 3.0+
6768
- NumPy 2.0+ (required for layout algorithms)
6869

6970
**Optional (installed with [full]):**
71+
7072
- SciPy 1.8+ (required for kamada_kawai and spectral layouts)
7173

7274
### Compatibility

net_vis/adapters/networkx_adapter.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
"""NetworkX graph adapter for converting to netvis data structures."""
22

33
import warnings
4-
from typing import Any, Callable
4+
from collections.abc import Callable
5+
from typing import Any
56

67
import networkx as nx
78

8-
from ..models import Node, Edge, GraphLayer
9+
from ..models import Edge, GraphLayer, Node
910

1011

1112
class NetworkXAdapter:

0 commit comments

Comments
 (0)