Skip to content

Commit d24f1e7

Browse files
docs: update canopy visualization (#1)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
1 parent fbdff87 commit d24f1e7

2 files changed

Lines changed: 19 additions & 23 deletions

File tree

docs/canopy.html

Lines changed: 14 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
<h1>canopy-code</h1>
409409
<span class="badge">canopy-code</span>
410410
<span class="badge">9 modules</span>
411-
<span class="badge">2,944 lines</span>
411+
<span class="badge">2,954 lines</span>
412412
<div class="search-box">
413413
<input id="search-input" placeholder="Search modules..." />
414414
<span id="search-count"></span>
@@ -520,7 +520,6 @@ <h1>canopy-code</h1>
520520
<circle cx="500.0" cy="344.9" r="18.6" fill="#e3b341" opacity="0.15"/>
521521
<circle cx="495.3" cy="343.3" r="6.2" fill="#ffffff" opacity="0.08"/>
522522
<circle cx="499.2" cy="369.4" r="2.1" fill="#1b1f23" opacity="0.7"/>
523-
<circle cx="500.0" cy="352.6" r="1.7" fill="#1b1f23" opacity="0.7"/>
524523
<text x="500.0" y="354.2" font-family="monospace" font-size="11" font-weight="700" fill="#c9d1d9" text-anchor="middle" dy="0.35em">config</text>
525524
<text x="500.0" y="399.2" font-family="monospace" font-size="7" fill="#484f58" text-anchor="middle" dy="0.35em">159 loc</text>
526525
</g>
@@ -564,7 +563,6 @@ <h1>canopy-code</h1>
564563
<circle cx="493.6" cy="504.6" r="2.8" fill="#1b1f23" opacity="0.7"/>
565564
<circle cx="500.4" cy="504.7" r="2.9" fill="#1b1f23" opacity="0.7"/>
566565
<circle cx="500.5" cy="498.8" r="2.8" fill="#1b1f23" opacity="0.7"/>
567-
<circle cx="505.6" cy="493.9" r="2.7" fill="#1b1f23" opacity="0.7"/>
568566
<text x="500.0" y="500.0" font-family="monospace" font-size="8" font-weight="600" fill="#c9d1d9" text-anchor="middle" dy="0.35em">collector..</text>
569567
</g>
570568
<g data-module="canopy.layout">
@@ -587,10 +585,10 @@ <h1>canopy-code</h1>
587585
<text x="267.0" y="524.7" font-family="monospace" font-size="7" fill="#484f58" text-anchor="middle" dy="0.35em">1562 loc</text>
588586
</g>
589587
<g data-module="canopy.aggregator">
590-
<circle cx="410.6" cy="707.2" r="28.6" fill="#d2992255" opacity="0.1" filter="url(#softGlow)"/>
591-
<circle cx="411.6" cy="708.2" r="11.4" fill="#000000" opacity="0.3"/>
592-
<circle cx="410.6" cy="707.2" r="11.4" fill="#d29922" filter="url(#nodeGlow)"/>
593-
<circle cx="410.6" cy="703.8" r="6.9" fill="#e3b341" opacity="0.15"/>
588+
<circle cx="410.6" cy="707.2" r="29.2" fill="#d2992255" opacity="0.1" filter="url(#softGlow)"/>
589+
<circle cx="411.6" cy="708.2" r="11.7" fill="#000000" opacity="0.3"/>
590+
<circle cx="410.6" cy="707.2" r="11.7" fill="#d29922" filter="url(#nodeGlow)"/>
591+
<circle cx="410.6" cy="703.7" r="7.0" fill="#e3b341" opacity="0.15"/>
594592
<circle cx="408.8" cy="703.2" r="2.3" fill="#ffffff" opacity="0.08"/>
595593
<text x="410.6" y="707.2" font-family="monospace" font-size="7" font-weight="600" fill="#c9d1d9" text-anchor="middle" dy="0.35em">aggregato..</text>
596594
</g>
@@ -603,18 +601,18 @@ <h1>canopy-code</h1>
603601
<text x="587.2" y="100.4" font-family="monospace" font-size="7" font-weight="600" fill="#c9d1d9" text-anchor="middle" dy="0.35em">canopy</text>
604602
</g>
605603
<circle cx="500.0" cy="400.0" r="86.8" fill="none" stroke="#da3633" stroke-width="0.5" stroke-dasharray="4 6" opacity="0.3"><animateTransform attributeName="transform" type="rotate" from="0 500.0 400.0" to="360 500.0 400.0" dur="60s" repeatCount="indefinite"/></circle>
606-
<text x="500.0" y="780.0" font-family="monospace" font-size="9" fill="#30363d" text-anchor="middle" dy="0.35em">9 modules | 2944 lines | 78% healthy 22% moderate 0% complex | 12 dead</text>
604+
<text x="500.0" y="780.0" font-family="monospace" font-size="9" fill="#30363d" text-anchor="middle" dy="0.35em">9 modules | 2954 lines | 78% healthy 22% moderate 0% complex | 10 dead</text>
607605
<text x="985.0" y="790.0" font-family="monospace" font-size="10" fill="#161b22" text-anchor="end" dy="0.35em">canopy-code</text>
608606
</svg>
609607
</div>
610608

611609
<div class="stats-bar">
612610
<div class="stat"><span class="stat-value">9</span><span class="stat-label">Modules</span></div>
613-
<div class="stat"><span class="stat-value">2,944</span><span class="stat-label">Lines</span></div>
611+
<div class="stat"><span class="stat-value">2,954</span><span class="stat-label">Lines</span></div>
614612
<div class="stat"><span class="stat-value green">78%</span><span class="stat-label">Healthy</span></div>
615613
<div class="stat"><span class="stat-value yellow">22%</span><span class="stat-label">Moderate</span></div>
616614
<div class="stat"><span class="stat-value red">0%</span><span class="stat-label">Complex</span></div>
617-
<div class="stat"><span class="stat-value" style="color:#484f58">12</span><span class="stat-label">Dead Code</span></div>
615+
<div class="stat"><span class="stat-value" style="color:#484f58">10</span><span class="stat-label">Dead Code</span></div>
618616
</div>
619617
</div>
620618

@@ -659,12 +657,12 @@ <h2>Keyboard Shortcuts</h2>
659657
"desc": ""
660658
},
661659
"canopy.aggregator": {
662-
"lines": 233,
660+
"lines": 243,
663661
"funcs": 13,
664-
"mi": 34.66,
665-
"cc": 3.31,
662+
"mi": 33.87,
663+
"cc": 3.46,
666664
"dead": 0,
667-
"churn": 2,
665+
"churn": 3,
668666
"layer": "Uncategorized",
669667
"desc": ""
670668
},
@@ -683,7 +681,7 @@ <h2>Keyboard Shortcuts</h2>
683681
"funcs": 14,
684682
"mi": 34.1,
685683
"cc": 2.57,
686-
"dead": 2,
684+
"dead": 1,
687685
"churn": 1,
688686
"layer": "Core",
689687
"desc": ""
@@ -713,7 +711,7 @@ <h2>Keyboard Shortcuts</h2>
713711
"funcs": 20,
714712
"mi": 52.84,
715713
"cc": 3.7,
716-
"dead": 6,
714+
"dead": 5,
717715
"churn": 6,
718716
"layer": "Collectors",
719717
"desc": ""

docs/canopy.svg

Lines changed: 5 additions & 7 deletions
Loading

0 commit comments

Comments
 (0)