Skip to content
Snippets Groups Projects
Commit 9fb847aa authored by Maximilian Giller's avatar Maximilian Giller :squid:
Browse files

Basic graph content interface

parent aebd7216
No related branches found
No related tags found
No related merge requests found
Pipeline #56927 passed
......@@ -46,10 +46,16 @@ export interface Coordinate {
z: number;
}
export interface GraphContent {
nodes: Node[];
links: Link[];
objectGroups: GraphObjectType[];
}
/**
* Basic graph data structure.
*/
export default class Graph {
export default class Graph implements GraphContent {
public nodes: Node[];
public links: Link[];
public objectGroups: GraphObjectType[];
......
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