org.tm4j.panckoucke.model.AModel .setStartNode(org.tm4j.panckoucke.model.AMArc arc,org.tm4j.panckoucke.model.AMNode startnode)

Description

Sets a new start node to the specified arc you may safely use this implementation to transfer an arc from one startnode to another. If the arc already has a startnode, that node is removed from the arc (and vice-versa the arc from the nodes arcs-set) Afterwards arc and new startnode are connected.

Parameters
org.tm4j.panckoucke.model.AMArc arc the AMArc.
org.tm4j.panckoucke.model.AMNode startnode the new startnode of that arc or null, to remove an existing startnode

Other Resources

Related Topics