Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: use Graph object to build graph #250

Merged
merged 1 commit into from
Oct 26, 2023
Merged

Conversation

jsolaas
Copy link
Contributor

@jsolaas jsolaas commented Oct 24, 2023

Proper graph implementation, isolate networkx and implementation details.

@jsolaas jsolaas requested a review from a team as a code owner October 24, 2023 07:38
Proper graph implementation, isolate networkx and implementation
details.
Copy link
Collaborator

@TeeeJay TeeeJay left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, one step on the way to make core agnostic about dependencies :)

We need to give both graph, node and edge proper names related to the domain though (imo). Such as EnergyNetwork (PowerNetwork, fuel network etc) or Piping System (TBD), whatever it is called, but then internally we use a graph, so that the Graph is never exposed to users.

pipingSystem.addPipeline(..,..)
pipeline.connect(...,...)

etc?

@jsolaas jsolaas merged commit ce65dba into main Oct 26, 2023
6 checks passed
@jsolaas jsolaas deleted the refactor/graph-details branch October 26, 2023 12:04
equinor-schen pushed a commit that referenced this pull request Nov 22, 2023
Proper graph implementation, isolate networkx and implementation
details.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants