import StyleComponent from './style-component'; import { Point } from '../common/utils'; import { StyleData } from './style'; export interface RelationshipData { id: string; title: string; style: StyleData; class: string; end1Id: string; end2Id: string; controlPoints: [Point, Point]; } export default class Relationship extends StyleComponent { componentType: string; getTitle(): string; changeTitle(title: string): void; getEnd1Id(): string; getEnd2Id(): string; changeEndPoints(newEndIds: { end1Id: string; end2Id: string; }): void; getControlPoint0(): any; getControlPoint1(): any; changeControlPoints(points: [Point, Point]): void; }