Skip to content

Commit

Permalink
perf(Graph): removed useless update calls (#42)
Browse files Browse the repository at this point in the history
  • Loading branch information
bartoval authored Nov 21, 2022
1 parent b82f500 commit 8fed6ac
Show file tree
Hide file tree
Showing 14 changed files with 244 additions and 444 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"engines": {
"npm": "please-use-yarn",
"yarn": ">= 1.19.1"
},
},
"scripts": {
"start": "webpack serve --config config/webpack.dev.js",
"build": "webpack --config config/webpack.prod.js",
Expand Down
250 changes: 0 additions & 250 deletions src/assets/router.svg

This file was deleted.

2 changes: 1 addition & 1 deletion src/assets/service.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/assets/site.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions src/core/components/Graph/Graph.enum.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
export enum GraphEvents {
IsGraphLoaded = 'graph:loaded',
IsDraggingNodeEnd = 'node:drag-end',
IsDraggingNodesEnd = 'nodes:drag-end',
NodeClick = 'node:click',
}
2 changes: 1 addition & 1 deletion src/core/components/Graph/Graph.interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export interface GraphNode {
color: string;
groupName: string;
group: number;
img?: XMLDocument;
img?: string;
fx: number | null;
fy: number | null;
groupFx?: number;
Expand Down
Loading

0 comments on commit 8fed6ac

Please sign in to comment.