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
I would like to create a graph visualization using graph info .. --format=dot ... We have defined some tool_requires in the host profile to apply them to the every package. The resulting graph visualization is now really a mess since every package is pointing to those tool_requires.
Is there a way to hide tool_requires for the graph output?
Thank you very much!
Have you read the CONTRIBUTING guide?
I've read the CONTRIBUTING guide
The text was updated successfully, but these errors were encountered:
nicosmd
changed the title
[question] Hot to exclude tool_requires from graph info output
[question] How to exclude tool_requires from graph info output
Feb 22, 2024
Just in case others came a cross this issue, this is the content of the os.path.join(conan_api.cache_folder, "templates", "graph.dot") file I've used in order to filter build dependencies:
digraph {
{%- for src, dst in graph.edges %}
{% if not dst.is_build_requires %}
"{{ src.label }}" -> "{{ dst.label }}"
{% endif %}
{%- endfor %}
}
FYI; the --format=html output has been greatly improved in 2.2, now it includes filters to hide build and test-requires, to group them, and many other improvements.
What is your question?
Hey,
I would like to create a graph visualization using
graph info .. --format=dot ..
. We have defined some tool_requires in the host profile to apply them to the every package. The resulting graph visualization is now really a mess since every package is pointing to those tool_requires.Is there a way to hide tool_requires for the graph output?
Thank you very much!
Have you read the CONTRIBUTING guide?
The text was updated successfully, but these errors were encountered: