public GraphConnection(GraphNode sourceNode, GraphNode targetNode, float weight) { _sourceNode = sourceNode; _targetNode = targetNode; _weight = weight; }