NIFI-15817: Adding support for view the flow managed by a Connector i…#11127
Merged
rfellows merged 2 commits intoapache:mainfrom Apr 13, 2026
Merged
NIFI-15817: Adding support for view the flow managed by a Connector i…#11127rfellows merged 2 commits intoapache:mainfrom
rfellows merged 2 commits intoapache:mainfrom
Conversation
…n a new reusable component.
rfellows
requested changes
Apr 10, 2026
Contributor
rfellows
left a comment
There was a problem hiding this comment.
Really nice @mcgilman. I just noted a couple of differences in how process groups and remote process groups render their titles on the new canvas vs the flow designer canvas.
Overall this is a nice incremental feature. I look forward to this becoming more fully-featured... and eventually replacing the flow designer canvas 🤞
| // Process group name | ||
| pgGroups | ||
| .append('text') | ||
| .attr('class', 'process-group-name secondary-contrast font-semibold') |
Contributor
There was a problem hiding this comment.
I don't think we want the font-semibold here. The flow designer canvas doesn't have this class and it makes a fairly noticeable difference between the 2.
| // Remote process group name | ||
| rpgGroups | ||
| .append('text') | ||
| .attr('class', 'remote-process-group-name secondary-contrast font-semibold') |
Contributor
There was a problem hiding this comment.
I don't think we want the font-semibold here. The flow designer canvas doesn't have this class.
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.
…n a new reusable component.
Summary
Adds a reusable canvas engine and connector canvas page to the NiFi frontend, enabling users to view the internal flow managed by a connector in a read-only canvas.
Reusable Canvas Engine (
ui/common/canvas/)A D3-based graph rendering component that can be consumed by any page needing to display a NiFi flow. Includes:
canvasUistate slice — NgRx feature state for transform and feature flags (canEdit/canSelect) shared across canvas consumersConnector Canvas Page (
pages/connectors/ui/connector-canvas/)A read-only view of a connector's internal flow, accessible at
/connectors/:id/canvas/:processGroupId. Includes:dataReadygatingconnectorCanvas(flow data, breadcrumbs, PG navigation) andconnectorCanvasEntity(connector metadata) feature statesmanagedProcessGroupId, redirector component, child routes for selection and PG navigationcanNavigateToParentgatingConnectorService.getConnectorFlow()for loading flow dataOther Changes
VersionControlTiprelocated frompages/flow-designer/ui/common/tooltips/toui/common/tooltips/to avoid cross-page imports from the reusable canvasnavigateToViewConnectoreffect updated to navigate to the canvas (replaceswindow.alertplaceholder)Feature Gating
All changes are behind the existing
enableConnectorsfeature flag (environment.enableConnectors). The/connectorsroute usesconnectorsFeatureGuard(canMatch), so the canvas page and its lazy-loaded module are unreachable when the flag is off.Testing
17 spec files with comprehensive coverage: