10 lines
222 B
TypeScript
10 lines
222 B
TypeScript
|
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}`;
|
||
|
}
|
||
|
}
|