import { GraphVertex } from "./GraphVertex"; export class GraphEdge{ public get Weight() { return this.weight; } public get EndVertex(): GraphVertex { return this.endVertex; } public get StartVertex(): GraphVertex { return this.startVertex; } public constructor( private startVertex: GraphVertex, private endVertex: GraphVertex, private weight = 0){ } }