Skip to content

Commit

Permalink
#9 chore: Update todos
Browse files Browse the repository at this point in the history
  • Loading branch information
afonsobspinto committed Aug 5, 2022
1 parent 23be234 commit 564aed1
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 16 deletions.
8 changes: 3 additions & 5 deletions dist/meta-diagram.cjs.development.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/meta-diagram.cjs.development.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/meta-diagram.cjs.production.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/meta-diagram.cjs.production.min.js.map

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions dist/meta-diagram.esm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/meta-diagram.esm.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,11 @@ const MetaDiagram = ({
.registerFactory(new MetaLinkFactory(componentsMap.links));

const metaGraph = generateMetaGraph(metaNodes)
// TODO: Internally add children to metaNode

const repaintCanvas = (event: any) => {
const node = event.entity
metaGraph.handleNodePositionChanged(node)
// TODO: Add call application OnDiagramChange callback
// TODO: We might not need the full canvas to be repainted
engine.repaintCanvas();
}
Expand Down
1 change: 0 additions & 1 deletion src/models/MetaNode.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export class MetaNode {
private readonly position: Position;
private readonly options: Map<string, any>;

// TODO: Add private children attribute
constructor(
id: string,
name: string,
Expand Down

0 comments on commit 564aed1

Please sign in to comment.