10 lines
222 B
TypeScript
Raw Normal View History

2020-04-17 15:43:34 +02:00
export class Edge {
public origin: string;
public target: string;
// eslint-disable-next-line @typescript-eslint/naming-convention
public toString (): string {
return `${this.origin} -> ${this.target}`;
}
}