You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The options --forward-root and --reverse-root let me selectively include nodes and their direct/reverse dependencies.
As far as I know, there is no option that would allow me to selectively exclude nodes, i.e. display all nodes but those I manually excluded. Am I right? If so, could such an option be added?
My use case: I am trying to make sense of a messy module. The module features a couple of utility functions used a lot, which clutter the graph with arrows that come from everywhere, and whose role I understand well anyway.
Using --exports-only would hide those, but also a number of functions which are not exported, but are still part of the meat of the module, i.e. they are more than just utility functions and I need Calligraphy's help to understand their exact role.
The text was updated successfully, but these errors were encountered:
This is currently not supported, but adding a name-based filter to the NodeFilter phase should only take a few lines. PR's welcome.
As a potentially better solution I'm imagining changing the dependency filtering to have rsync-style chained forward/backward include/exclude rules, but that would be a much more significant change.
Ok, thank you for pointing me to the relevant lines, I'll look into it when I have some time.
I am not familiar with rsync, so I don't understand what you have in mind for the more significant change, though I understand the benefits that a more flexible system would bring.
--exclude
lets me exclude modules--forward-root
and--reverse-root
let me selectively include nodes and their direct/reverse dependencies.As far as I know, there is no option that would allow me to selectively exclude nodes, i.e. display all nodes but those I manually excluded. Am I right? If so, could such an option be added?
My use case: I am trying to make sense of a messy module. The module features a couple of utility functions used a lot, which clutter the graph with arrows that come from everywhere, and whose role I understand well anyway.
Using
--exports-only
would hide those, but also a number of functions which are not exported, but are still part of themeat
of the module, i.e. they are more than just utility functions and I need Calligraphy's help to understand their exact role.The text was updated successfully, but these errors were encountered: