Replies: 2 comments 2 replies
|
I have prepared additional sketches:
@chahank @peanutfun and @emanuel-schmid, please let me know your thoughts on this. |
0 replies
|
After discussion with @peanutfun, here are some suggestions for the update of the module:
|
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Hi,
I am working on updating the
networkmodule developped by @Evelyn-M in order to eventually be able to merge it into main. I think it could benefit some refactoring and restructuration. I have started to think about it but would like to get some feedback before I go further. Currently the state of the module is this:Branch feature/networks
Description: First version of the module
Contains:
nw_base.pyNetwork: stores data (nodes and edges)nw_calcs.pyGraphCalcs: computations on graphsGraph(GraphCalcs): convertnetworktographviaigraphlibrarynw_preps.pyNetworkPreprocess: Preprocessing steps on networksRoadPreprocess(NetworkPreprocess): preprocessing specific to roadsPowerlinePreprocess(NetworkPreprocess): preprocessing specific to powerlinesnw_utils.pyPowerFunctionalData: handle data specific to powerlinesBranch feature/nw_minimal
Description: an attempt to simplify feature/networks
Contains:
nw_base.pyNetwork: stores data (nodes and edges)Graph: convert network to graph viaigraphlibrarynw_calcs.pynw_preps.pynw_utils.pyPowerFunctionalData: handle data specific to powerlinesIssues:
Suggestions
climadacoreOSMNx,NetworkX,...I have tried to summarize the desired structure in a class diagram, where I tried to follow UML (see attached).

Questions:
GraphCalcswhich was a class in networks but has been change to independent functions in nw_minimal.Looking forward to your suggestions!
All reactions