-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Is Your Feature Request Related to a Problem? Please Describe
Following #5, it would be helpful to add easier ways to create graphs
Describe the Solution You'd Like
A GraphBuilder
class could:
- Have an
add_node
method. This can have an optional inputlabel
, and it can usednode{n}
as default if unset - Have an
add_edge
method that adds an edge between two nodes - Have a
create_graph
method that finalises the graph ready for use. Or this could be called automatically the first time the graph is used.
Internally, the builder can do exactly what's currently in the graph tests.
Describe Alternatives You've Considered
No response
Additional Context
No response
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request