Skip to content

noob question, difference between DataFlow::Node and DataFlow::PathNode #138

Discussion options

You must be logged in to vote

The answer above is a great TL;DR, for the slightly longer explanation, read on:
When building a query, modelling something, thinking about data flow, etc. you'll want to use DataFlow::Node. In general these corresponds to all the parts of the code that can carry a value and therefore make up the nodes in a simple data-flow graph. When using data flow you'll e.g. need to specify sources and sinks as certain DataFlow::Nodes. DataFlow::PathNodes are not themselves directly useable for anything, but rather generated as an output of the data-flow library. When writing a path query the data-flow library will deliver the results in the form of a hasFlowPath(DataFlow::PathNode source, DataFlow::…

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@hMihaiDavid
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by jbj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants