Replies: 1 comment
-
I think its kind of a feature, because the way it works, you are obligated to chain |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Dynamically create graph from config
I want to be able to dynamically generate graphs from configs:
and from the config, I generate the nodes:
now I have a problem with creating the graph:
In theory this should work but the problem is
addEdge
doesn't work.When you call
addNode("id", node)
It makes id as an option for addEdge, because its a literal value, but when the id is coming from a variable, it doesn't work:
How can I be able to dynamically create a graph?
Beta Was this translation helpful? Give feedback.
All reactions