Skip to content

Is there a way to get path analysis for custom nodes and edges? #12327

Answered by hmakholm
ivan-gavran asked this question in Q&A
Discussion options

You must be logged in to vote

If you're rolling your own analysis from scratch, and not looking to reuse any of the existing dataflow infrastructure, then you don't need to use any particular type for your nodes, as long as the types of your nodes and edges predicates match the second and third columns of the select result. For the best result display, your node type should have a getLocation() member predicate.

Thus, the type could be just your own ExtendedCallNode type.

But the real problem you're facing is probably the "alert interpretation" computation that runs after the raw QL evaluation. It expects that the source and sink columns of your select output are actually the ends of a path in the graph defined by your

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@ivan-gavran
Comment options

Answer selected by ivan-gavran
Comment options

You must be logged in to vote
3 replies
@ivan-gavran
Comment options

@ivan-gavran
Comment options

@owen-mc
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants