export class Node {
  position: [ number, number ] = [ 0.0, 0.0 ]
  id: string
  label: string = ''
  color: string = ''

  constructor(id: string) {
    this.id = id
  }
}

export interface NodeData {
  id: string;
  x: number;
  y: number;
  label: string;
  color: string;
}
