Skip to content

Commit 00e1501

Browse files
author
shuzarevich
committed
update flow components and dependencies for improved functionality
1 parent e2f7839 commit 00e1501

4 files changed

Lines changed: 12 additions & 15 deletions

File tree

libs-domain/flow/src/lib/components/flow/flow.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
<f-background>
1111
<flow-background />
1212
</f-background>
13-
<f-line-alignment />
13+
<f-magnetic-lines />
14+
<f-magnetic-rects />
1415
<f-selection-area />
1516

1617
<f-canvas fZoom (fCanvasChange)="changeCanvasTransform($event)"
@@ -65,8 +66,6 @@
6566

6667
<flow-toolbar fDragBlocker (resetScaleAndCenter)="resetScaleAndCenter()" (fitToScreen)="fitToScreen()" (resetFlow)="resetFlow()" (executeFlow)="executeFlow()" (importFlow)="importFlow($event)" (exportFlow)="exportFlow()" />
6768

68-
<flow-github-cta />
69-
7069
@if (model.selection?.nodes?.length) {
7170
<configuration-panel fDragBlocker>
7271
<node-configuration />

libs-domain/flow/src/lib/components/flow/flow.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ import { NodeConfiguration } from '../node-configuration';
4343
import { ConditionConnectionToolbar } from '../condition-connection-toolbar';
4444
import { RemoveConnectionButton } from '../remove-connection-button';
4545
import { provideMutator } from '@foblex/mutator';
46-
import { FlowGithubCta } from '../github-cta';
4746

4847
const UNDO_REDO_HISTORY_LIMIT = 40;
4948

@@ -71,7 +70,6 @@ const UNDO_REDO_HISTORY_LIMIT = 40;
7170
ConditionConnectionToolbar,
7271
FConnectionContent,
7372
RemoveConnectionButton,
74-
FlowGithubCta,
7573
],
7674
host: {
7775
'(keydown)': 'onKeydown($event)',
@@ -230,7 +228,7 @@ export class Flow implements OnInit {
230228
this._apiService.import(content);
231229
this._isChangeAfterLoadedResetAndCenter = true;
232230
this._flow()?.reset();
233-
this._canvas()?.resetScaleAndCenter(false);
231+
// this._canvas()?.resetScaleAndCenter(false);
234232
}
235233

236234
protected onKeydown(event: KeyboardEvent): void {

package-lock.json

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
"@angular/router": "~20.3.0",
1717
"@angular/ssr": "~20.3.0",
1818
"@foblex/2d": "^1.2.1",
19-
"@foblex/flow": "^17.9.8",
19+
"@foblex/flow": "^18.1.0",
2020
"@foblex/mediator": "^1.1.3",
2121
"@foblex/mutator": "^1.0.8",
2222
"@foblex/platform": "^1.0.4",

0 commit comments

Comments
 (0)