<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Dependency-Tracing on Ghafoor's Personal Blog</title><link>https://ghafoorsblog.com/tags/dependency-tracing/</link><description>Recent content in Dependency-Tracing on Ghafoor's Personal Blog</description><generator>Hugo</generator><language>en</language><managingEditor>hello@ghafoorsblog.com (AG Sayyed)</managingEditor><webMaster>hello@ghafoorsblog.com (AG Sayyed)</webMaster><copyright>Copyright © 2024-2026 AG Sayyed. All Rights Reserved.</copyright><lastBuildDate>Wed, 11 Nov 2026 17:40:03 +0000</lastBuildDate><atom:link href="https://ghafoorsblog.com/tags/dependency-tracing/index.xml" rel="self" type="application/rss+xml"/><item><title>Dependency Tracing</title><link>https://ghafoorsblog.com/docs/graphify/02-workflows/dependency-tracing/</link><pubDate>Mon, 09 Nov 2026 00:00:00 +0000</pubDate><author>hello@ghafoorsblog.com (AG Sayyed)</author><guid>https://ghafoorsblog.com/docs/graphify/02-workflows/dependency-tracing/</guid><description>&lt;h2 id="dependency-tracing"&gt;Dependency Tracing&lt;/h2&gt;
&lt;p&gt;Trace relationships between any two components using &lt;code&gt;graphify path&lt;/code&gt; — the most powerful command for understanding how code connects.&lt;/p&gt;
&lt;h3 id="-the-path-command"&gt;🔗 The &lt;code&gt;path&lt;/code&gt; Command&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Always signal activity first&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;2&lt;/span&gt;&lt;span class="cl"&gt;mkdir -p graphify-out &lt;span class="o"&gt;&amp;amp;&amp;amp;&lt;/span&gt; touch graphify-out/.graphify-activity
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;3&lt;/span&gt;&lt;span class="cl"&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;4&lt;/span&gt;&lt;span class="cl"&gt;&lt;span class="c1"&gt;# Trace from A to B&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;5&lt;/span&gt;&lt;span class="cl"&gt;graphify path &amp;lt;source&amp;gt; &amp;lt;target&amp;gt;
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;h3 id="what-it-shows"&gt;What It Shows&lt;/h3&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Node chain&lt;/strong&gt; — Sequence of nodes connecting source to target&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Edge types&lt;/strong&gt; — &lt;code&gt;imports_from&lt;/code&gt;, &lt;code&gt;calls&lt;/code&gt;, &lt;code&gt;contains&lt;/code&gt;, &lt;code&gt;references&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;File locations&lt;/strong&gt; — Exact paths and line numbers&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Direction&lt;/strong&gt; — Data/control flow direction&lt;/li&gt;
&lt;/ul&gt;
&lt;hr&gt;
&lt;h2 id="-common-use-cases"&gt;🎯 Common Use Cases&lt;/h2&gt;
&lt;h3 id="script-to-config"&gt;1. Script → Config (How does a script read config?)&lt;/h3&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" class="chroma"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span class="line"&gt;&lt;span class="ln"&gt;1&lt;/span&gt;&lt;span class="cl"&gt;graphify path scripts/dictionary/yt-to-content-v2.py tasks/content.yaml
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Typical output:&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>