Skip to content

Commit 4901b0a

Browse files
authored
Splitting base (#18)
splitting base in submodules
1 parent 9938b38 commit 4901b0a

File tree

6 files changed

+645
-661
lines changed

6 files changed

+645
-661
lines changed

pymathics/graph/__init__.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,17 @@
3939

4040
from pymathics.graph.base import (
4141
AdjacencyList,
42-
BetweennessCentrality,
43-
ClosenessCentrality,
44-
DegreeCentrality,
4542
DirectedEdge,
4643
EdgeConnectivity,
4744
EdgeIndex,
4845
EdgeList,
4946
EdgeRules,
50-
EigenvectorCentrality,
5147
FindShortestPath,
5248
FindVertexCut,
5349
Graph,
5450
GraphAtom,
5551
GraphBox,
5652
HighlightGraph,
57-
HITSCentrality,
58-
KatzCentrality,
59-
PageRankCentrality,
6053
Property,
6154
PropertyValue,
6255
UndirectedEdge,
@@ -66,6 +59,17 @@
6659
VertexIndex,
6760
VertexList,
6861
)
62+
63+
from pymathics.graph.centralities import(
64+
BetweennessCentrality,
65+
ClosenessCentrality,
66+
DegreeCentrality,
67+
EigenvectorCentrality,
68+
HITSCentrality,
69+
KatzCentrality,
70+
PageRankCentrality,
71+
)
72+
6973
from pymathics.graph.components import ConnectedComponents, WeaklyConnectedComponents
7074
from pymathics.graph.curated import GraphData
7175
from pymathics.graph.measures_and_metrics import (

0 commit comments

Comments
 (0)