Skip to content
Discussion options

You must be logged in to vote

You could try in your data-flow configuration specifying predicate neverSkip(Node node) -- by default, the edges relation that populates the user-facing graph will skip nodes unless they are join points (have multiple predecessors) or are interprocedural edges.

The names printed in the path explanation refer to nodes, not edges, but you could try something like class CustomNamedNode extends DataFlow::Node { ... CustomNamedNode() { ... characterise your node ... } ... override string toString() { ... stringify your node ... }, and ensure your custom node definition is in scope in the context of whatever query produces your path explanation.

Replies: 2 comments 3 replies

Comment options

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

Answer selected by KseniiaSmirn0va
Comment options

You must be logged in to vote
2 replies
@KseniiaSmirn0va
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
3 participants