diff --git a/src/editor/js/structures/graph/graphelement.ts b/src/editor/js/structures/graph/graphelement.ts index c4363960ad24d7b3a6f68f5a3b34a2d60d8537d8..3fd277e7d18da57970b77271ff5aa3aa42ac4583 100644 --- a/src/editor/js/structures/graph/graphelement.ts +++ b/src/editor/js/structures/graph/graphelement.ts @@ -1,5 +1,5 @@ -import {Graph} from "./graph"; -import {SerializableItem} from "../helper/serializableitem"; +import { Graph } from "./graph"; +import { SerializableItem } from "../helper/serializableitem"; export class GraphElement extends SerializableItem { protected isNode: boolean; @@ -27,7 +27,7 @@ export class GraphElement extends SerializableItem { * @returns True, if successful. */ public delete(): boolean { - throw new Error("Function \"delete()\" has not been implemented."); + throw new Error('Function "delete()" has not been implemented.'); } /** @@ -36,7 +36,7 @@ export class GraphElement extends SerializableItem { * @returns True, if successful. */ public add(graph: Graph = this.graph): boolean { - throw new Error("Function \"add(graph)\" has not been implemented."); + throw new Error('Function "add(graph)" has not been implemented.'); } /** @@ -44,6 +44,8 @@ export class GraphElement extends SerializableItem { * @returns Filtered object. */ public getCleanInstance(): any { - throw new Error("Function \"getCleanInstance()\" has not been implemented."); + throw new Error( + 'Function "getCleanInstance()" has not been implemented.' + ); } -} \ No newline at end of file +}