SAService Architect Open designer
SAService ArchitectDocumentation
Designer guide Discover > Verify existing fragments > Preview > Apply

Rebuild components

Recompute component membership after changing the graph without changing its business logic or node positions.

When to use

Use Rebuild components after adding repeated logic, changing functions or connections, or deleting streams.

Behavior

  • Choose Rebuild components in the editable Components panel. The operation checks existing fragments directly and combines still-valid repetitions with newly discovered matches.
  • Existing valid components are considered even when the discovery size bounds exclude them. Reaching a search limit does not by itself remove an existing component.
  • The preview lists retained, changed, missing and new definitions. A missing definition has no independently selected repeated fragment left: its repetitions may have diverged, disappeared, or been replaced by a more compact selection.
  • A surviving definition keeps its name and description. Newly discovered definitions receive suggested names, which can be edited before applying. Review the preview because a better combination may replace an earlier component.
  • Apply replaces this service's definitions in one change operation. Validation completes before the registry is replaced; stale graph semantics, invalid names and overlapping membership are rejected without a partial update.
  • The existing editor undo mechanism can restore the previous definitions. Stream coordinates, connections and business functions are not rewritten. Retained fragment positions and descriptions are preserved, including changes made after the preview.
  • Discarding the preview does not change the model. A changed graph or component membership requires a fresh preview; moving nodes or editing descriptions does not invalidate structural matching.

Configuration example