feat: service registry sections, hosting groups, and React Flow graph canvas - #9
Merged
Conversation
Introduces a top-level stakeholders map where each entry captures a team's name, description, and contact point. Business flows now reference stakeholder keys instead of inline strings, enabling quick lookup of stakeholder details from a single source of truth. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Introduces a top-level hosting map where named configs (environment, provider, account) are defined once and referenced by key from each service. Adds cross-reference validation, checklist entries, colored node borders and bottom strips in the graph, and a Hosting detail in the impact panel. Moves DEFAULT_REGISTRY_TEMPLATE to a .yaml?raw import. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…lapping hosting bubbles Use elkjs with elk.partitioning.activate so nodes sharing the same hosting key are always placed in the same horizontal band. The previous hand-rolled topological layering centered each layer independently, causing bounding-box bubbles to drift and overlap across layers. ELK handles cycle-breaking natively and paves the way for a future React Flow migration. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… modes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… guard in ServiceNode Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Replaces old GraphCanvas props with rfNodes/rfEdges, adds enrichedNodes memo to hydrate ServiceNodeData, adds hosting toggle button to footer legend, and stubs ResizeObserver in tests for @xyflow/react compatibility. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… child nodes, globalThis in setup Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Business Flow tab now renders left-to-right with entry-point services on the left and datastores on the right, arrows following request direction - TB (infra) layout keeps dependency→consumer downward arrows and X-spread redistribution; LR uses consumer→dependency edges and Y-spread redistribution - ServiceNode switches handles to Left/Right in LR so bezier curves are horizontal; ServiceEdge forwards sourcePosition/targetPosition to getBezierPath so arrowheads orient along the curve naturally - Hosting toggle hidden in Business Flow footer; LR always bypasses the hosting-mode branch in computeLayout so stale showHosting state on tab switch no longer reverts the layout to TB Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 865797c864
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…lection
- GraphCanvas: FitViewOnChange now tracks layoutNodes (raw ELK output)
instead of enriched rfNodes, so fitView no longer fires on
highlight/dim state updates from service selection
- useCatalogViewModel: split combined memo into separate visibleServices
and { affectedSet, highlightKey } memos so selectedService changes
in impact mode don't create a new Set reference and trigger ELK re-layout
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GraphCanvassupporting interactive nodes/edges and a hosting group toggleTest Plan
HostingGroupNodecontainersfitViewtriggers correctly on layout changenpm test)