Skip to content
Snippets Groups Projects
Commit bba73ee5 authored by Maximilian Giller's avatar Maximilian Giller
Browse files

Formatted code

parent fe91ef70
No related branches found
No related tags found
1 merge request!2Implemented editor in the react framework
Pipeline #56430 passed
import {Graph} from "./graph"; import { Graph } from "./graph";
import {SerializableItem} from "../helper/serializableitem"; import { SerializableItem } from "../helper/serializableitem";
export class GraphElement extends SerializableItem { export class GraphElement extends SerializableItem {
protected isNode: boolean; protected isNode: boolean;
...@@ -27,7 +27,7 @@ export class GraphElement extends SerializableItem { ...@@ -27,7 +27,7 @@ export class GraphElement extends SerializableItem {
* @returns True, if successful. * @returns True, if successful.
*/ */
public delete(): boolean { 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 { ...@@ -36,7 +36,7 @@ export class GraphElement extends SerializableItem {
* @returns True, if successful. * @returns True, if successful.
*/ */
public add(graph: Graph = this.graph): boolean { 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 { ...@@ -44,6 +44,8 @@ export class GraphElement extends SerializableItem {
* @returns Filtered object. * @returns Filtered object.
*/ */
public getCleanInstance(): any { 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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment