feat(visualization): add biological network viewer - #32
Conversation
There was a problem hiding this comment.
Sorry @dsk-dev-ai, you have reached your weekly rate limit of 500000 diff characters.
Please try again later or upgrade to continue using Sourcery
|
ⓘ Qodo reviews are paused because your trial has ended. Ask your workspace admin to add credits to resume reviews. Manage billing |
|
Warning Review limit reached
Next review available in: 8 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (28)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Reviewer's GuideImplements a reusable Phase 6.6 Biological Network Viewer: a typed graph data model and normalization/filtering/layout/viewport math in lib/network; a view-model hook composing data lifecycle, layout, viewport, filtering, and selection; an accessible SVG NetworkViewer component plus dev fixture, demo integration, and documentation/tests, all wired into the visualization roadmap and README. Sequence diagram for loading and rendering a network in the viewersequenceDiagram
actor User
participant VisualizationPage
participant NetworkDemo
participant useNetworkViewer
participant useVisualizationData
participant fetchNetworkGraph
participant createLayout
participant filterGraph
participant fitViewport
participant NetworkViewer
User->>VisualizationPage: visit /visualization
VisualizationPage->>NetworkDemo: render
NetworkDemo->>useNetworkViewer: useNetworkViewer({ loader | networkId })
useNetworkViewer->>useVisualizationData: useVisualizationData(loader)
useVisualizationData->>fetchNetworkGraph: fetchNetworkGraph(networkId,signal)
fetchNetworkGraph-->>useVisualizationData: Graph
useVisualizationData-->>useNetworkViewer: data=Graph,status="success"
useNetworkViewer->>createLayout: createLayout(Graph,"concentric")
createLayout-->>useNetworkViewer: GraphLayout
useNetworkViewer->>fitViewport: fitViewport(GraphLayout,width,height)
fitViewport-->>useNetworkViewer: NetworkViewport
useNetworkViewer->>filterGraph: filterGraph(Graph,filter=null)
filterGraph-->>useNetworkViewer: filteredGraph
useNetworkViewer-->>NetworkDemo: NetworkViewerResult
NetworkDemo->>NetworkViewer: render NetworkViewer(result)
NetworkViewer-->>User: interactive SVG (pan/zoom/filter/select)
File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
Summary
Implements Phase 6.6 of the GenomeAI Visualization Platform by introducing a reusable 2D Biological Network Viewer.
The viewer provides a generic graph visualization foundation for biological relationships while remaining independent of any specific external biological database.
Features
Network Visualization
Biological Graph Support
Supports extensible node types including:
Supports generic relationship types including:
Filtering
Architecture
Accessibility
Scope
This phase intentionally does NOT introduce:
External biological data will eventually enter GenomeAI through the connector/ingestion architecture and be consumed by the viewer through normalized GenomeAI graph data.
Tests
Added coverage for:
Verification
make setupmake lintmake typecheckmake testpnpm turbo build/visualizationverificationgit diff --checkRoadmap
Completed:
Next:
Phase 6.7 — Scientific Charts / Expression Visualization
Summary by Sourcery
Introduce a deterministic, dependency-free Biological Network Viewer and integrate its demo into the visualization page.
New Features:
Enhancements:
Tests: