[D3/AI] Implement Semantic Text Truncation & Pill-Node Geometry #21
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context: Graph nodes currently display full sentences or multiple comma-separated terms, causing massive overlap and unreadability.
Role: Data Visualization Specialist.
Task: Refactor
knowledgeGraph.jsand the LLM extraction logic to enforce concise node labels.Requirements:
concept.labelto a maximum of 3 words (e.g., "Dependency Injection" instead of full descriptive lists).<rect>elements withrx="15". The width must automatically adjust to the text length with internal padding.d3.forceCollideradius tonodeWidth + 20pxto ensure physical separation between concept pills.