import { Node } from '../cartography/models/node';
import { Filter } from './filter';
import { LinkNode } from './link-node';
import { LinkStyle } from './link-style';

export class Link {
  capture_file_name: string;
  capture_file_path: string;
  capturing: boolean;
  filters?: Filter;
  link_id: string;
  link_type: string;
  nodes: LinkNode[];
  project_id: string;
  suspend: boolean;
  link_style?: LinkStyle;

  distance: number; // this is not from controller
  length: number; // this is not from controller
  source: Node; // this is not from controller
  target: Node; // this is not from controller

  x: number; // this is not from controller
  y: number; // this is not from controller
}
