 | LGSPGraphReplaceEdge Method |
Replaces a given edge by another one.
Source and target node are transferred to the new edge,
but the new edge must already have source and target set to these nodes.
The new edge is added to the graph, the old edge is removed.
A SettingEdgeType event is generated before.
The attributes are not touched.
This function is used for retyping.
Namespace: de.unika.ipd.grGen.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic void ReplaceEdge(
LGSPEdge oldEdge,
LGSPEdge newEdge
)
Parameters
- oldEdge LGSPEdge
- The edge to be replaced.
- newEdge LGSPEdge
- The replacement for the edge.
See Also