Skip to content

Commit

Permalink
Refactor create-graph.ts to remove unnecessary line
Browse files Browse the repository at this point in the history
An unnecessary line in the 'snap' object of 'create-graph.ts' file has been removed. This makes the code cleaner and more maintainable by improving readability and reducing clutter.
  • Loading branch information
sfmskywalker committed Jan 18, 2024
1 parent 8a4be90 commit f89dedb
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,7 @@ export async function createGraph(containerId: string, componentRef: DotNetCompo
connectionPoint: 'anchor',
allowBlank: false,
snap: {
radius: 20,

radius: 20
},
createEdge() {
return graph.createEdge({
Expand Down

0 comments on commit f89dedb

Please sign in to comment.