import { GraphNode } from '@src/Tools/Production/Result/Nodes/GraphNode' ; import { ItemAmount } from '@src/Tools/Production/Result/ItemAmount' ; export class GraphEdge { public id : number ; public constructor ( public readonly from , public readonly to , public readonly itemAmount ) { from . connectedEdges . push ( this ) ; to . connectedEdges . push ( this ) ; } }