06f8c823a6
- Fix #16: Implement D3.js transitions and active state badges for Knowledge Graph. - Fix #12: Implement Immersive Reader Layout with Merriweather typography. - Fix #20: Professional code block styling with high contrast and monospace fonts. - Resolve DI runtime error in WASM by adding dummy services. - Replace generic 'Not Found' message with Nexus preloader. - Enforce 'no async void' architecture across UI services.
14 lines
757 B
Markdown
14 lines
757 B
Markdown
---
|
|
name: nexus-graph-d3
|
|
description: D3.js standards for Knowledge Graph
|
|
---
|
|
# D3.js Standards
|
|
|
|
- **Data Exchange:** Use `System.Text.Json` with CamelCase naming.
|
|
- **JS Interop:** Use ES6 modules and `IJSObjectReference`.
|
|
- **Responsiveness:** SVG must use `viewBox` for fluid portrait scaling.
|
|
- **Visuals:** Use CSS variables (`--nexus-neon`) for node styling.
|
|
- **Transitions:** Enforce smooth 500ms transitions using the D3.js General Update Pattern (`.join()`).
|
|
- **Animations:** Implement "Neon Flash" entry animations for newly discovered knowledge nodes.
|
|
- **Contextual Highlight:** Support node/link dimming to emphasize the current reading context.
|
|
- **Events:** JS emits events (like `nodeClicked`) caught by Blazor via `DotNetObjectReference`. |