Context
Once GraphService is bound to Wails, the frontend needs a component to display relationships for a selected resource. The backend supports three query types: direct relationships, relationship chains (BFS by type), and full dependency trees.
What to do
- Create a relationship panel/drawer that shows edges for a selected resource
- Use
GetRelated() for the default view — show incoming and outgoing edges grouped by relationship type
- Each edge should link to the target resource (clicking navigates to it)
- Support filtering by relationship type (owns, uses, runs_on, selects, manages)
- Consider a tree view using
GetDependencyTree() for visualizing ownership hierarchies
Depends on
- GraphService Wails binding issue (must be merged first)
Design notes
- Start simple: a sidebar panel or tab on the resource detail view
- Group edges by type with counts
- Show target resource kind + name + namespace
Context
Once GraphService is bound to Wails, the frontend needs a component to display relationships for a selected resource. The backend supports three query types: direct relationships, relationship chains (BFS by type), and full dependency trees.
What to do
GetRelated()for the default view — show incoming and outgoing edges grouped by relationship typeGetDependencyTree()for visualizing ownership hierarchiesDepends on
Design notes