Back to skills
SKILL.md
056 Chapter 2cb725e9
ASecurity**Chapter:** 06 - Learning Graph Quality Validation **Generator:** vis-network **Match Score:** 98/100 **Difficulty:** Medium
- 9 stars
- 0 votes
- 0 copies
- 0 views
- Added October 11, 2026
Security analysis
100/100npx -y skills add tools-only/X-Skills --skill 056-chapter_2cb725e9 --agent claude-codeAre you the author of 056 Chapter 2cb725e9?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/tools-only-056-chapter-2cb725e9)# DAG Validation Algorithm Visualization
**Chapter:** 06 - Learning Graph Quality Validation
**Generator:** vis-network
**Match Score:** 98/100
**Difficulty:** Medium
## Specification
<summary>DAG Validation Algorithm Visualization</summary>
Type: diagram
Purpose: Illustrate the three-color DFS algorithm used for cycle detection in learning graphs
Components to show:
- A sample learning graph with 8 nodes arranged in a network
- Color-coded nodes showing White (gray), Gray (yellow), Black (green)
- Directed edges showing dependencies
- One back edge highlighted in red creating a cycle
- DFS traversal stack shown on the right side
- Traversal order numbered 1-8
Layout: Network graph on left (70%), DFS stack visualization on right (30%)
Example nodes:
- Node 1: "Variables" (Black - completed)
- Node 2: "Functions" (Black - completed)
- Node 3: "Loops" (Gray - in progress)
- Node 4: "Recursion" (Gray - in progress)
- Node 5: "Data Structures" (White - unvisited)
- Node 6: "Algorithms" (White - unvisited)
Edges:
- Black arrows: Valid forward edges
- Red arrow: Back edge from "Recursion" to "Loops" (cycle detected!)
Annotations:
- Arrow pointing to red edge: "Cycle detected: Loops ← Recursion ← Loops"
- Stack showing: [Loops, Recursion]
Style: Network diagram with color-coded nodes and directional arrows
Implementation: SVG diagram with color-coded circles and arrowsAttribution
Comments
Loading comments…