This repository has been archived by the owner on Nov 27, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(refactor): Clearer separation of concerns for visualization (#1183)
* From now on the components are expected to only initialize the stores and forward them directly to the services. In This way the store details, which often touches the business logic, are isolated from components and encapsulated into services * In this changeset, only Visualization.tsx and VisualizationStep.tsx are addressed. More will be expected later * Made services class and let them hold references to the stores, mainly for reducing the arguments on business logic methods invoked from components * Splitted StepsService from VisualizationService, trying to isolate the logical model handling (e.g. IStepProps) from pure visualization handling (React Flow nodes and edges) as much as possible
- Loading branch information
1 parent
01e1e16
commit b394613
Showing
17 changed files
with
1,339 additions
and
1,217 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.