A weighted arc pointing to a graph node.
public var node: GraphNode
The node that the arc points to.
public var weight: Number
The weight (or cost) of the arc.
public function GraphArc(node: GraphNode, weight: Number = 1)
Creates a new graph arc with a given weight.