<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Code-Only on Ghafoor's Personal Blog</title><link>https://ghafoorsblog.com/tags/code-only/</link><description>Recent content in Code-Only 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/code-only/index.xml" rel="self" type="application/rss+xml"/><item><title>Code-Only vs Full Graph</title><link>https://ghafoorsblog.com/docs/graphify/03-guides/code-vs-full/</link><pubDate>Mon, 09 Nov 2026 00:00:00 +0000</pubDate><author>hello@ghafoorsblog.com (AG Sayyed)</author><guid>https://ghafoorsblog.com/docs/graphify/03-guides/code-vs-full/</guid><description>&lt;h1 id="code-only-vs-full-graph"&gt;Code-Only vs Full Graph&lt;/h1&gt;
&lt;p&gt;Understanding the two graph modes and when to use each.&lt;/p&gt;
&lt;h2 id="-comparison"&gt;📊 Comparison&lt;/h2&gt;
&lt;table&gt;
 &lt;thead&gt;
 &lt;tr&gt;
 &lt;th&gt;Aspect&lt;/th&gt;
 &lt;th&gt;Code-Only (&lt;code&gt;--code-only&lt;/code&gt;)&lt;/th&gt;
 &lt;th&gt;Full Graph (default)&lt;/th&gt;
 &lt;/tr&gt;
 &lt;/thead&gt;
 &lt;tbody&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;API Key Required&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;❌ No&lt;/td&gt;
 &lt;td&gt;✅ Yes&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Build Time&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;~30-60 seconds&lt;/td&gt;
 &lt;td&gt;~1-2 minutes&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Graph Size&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Smaller (~3-5 MB)&lt;/td&gt;
 &lt;td&gt;Larger (~10-50 MB)&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Languages Indexed&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;20+ via tree-sitter&lt;/td&gt;
 &lt;td&gt;Same + semantic docs&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;File Types&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Source code only&lt;/td&gt;
 &lt;td&gt;Code + markdown + docs + PDFs + images&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Query Depth&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Code structure, calls, imports&lt;/td&gt;
 &lt;td&gt;+ Semantic content, cross-references&lt;/td&gt;
 &lt;/tr&gt;
 &lt;tr&gt;
 &lt;td&gt;&lt;strong&gt;Cost&lt;/strong&gt;&lt;/td&gt;
 &lt;td&gt;Free (local only)&lt;/td&gt;
 &lt;td&gt;API credits per build&lt;/td&gt;
 &lt;/tr&gt;
 &lt;/tbody&gt;
&lt;/table&gt;
&lt;hr&gt;
&lt;h2 id="-what-each-indexes"&gt;🔍 What Each Indexes&lt;/h2&gt;
&lt;h3 id="code-only-mode"&gt;Code-Only Mode&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 . --code-only
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;p&gt;&lt;strong&gt;Indexes:&lt;/strong&gt;&lt;/p&gt;</description></item></channel></rss>