node1) node to the second (node2) node. Multiple edges between the same nodes are allowed, and are considered different edges. Self-loops are also allowed.
@param node1 The first node.
@param node2 The second node.
@param weight The weight.
@return The edge.
@exception GraphElementException If the first node or secondnode is not already in the graph.
@exception NullPointerException If the weight is null.
| |
| |