GraphEdgeMarkedForRemoval
Description
Check whether an edge is currently marked for removal.
Parameters
| Name | Direction | Description |
|---|---|---|
g |
in | Graph owning the edge. |
from |
in | Source node id. |
to |
in | Destination node id. |
Success
true when the edge is pending removal.
Failure
false
Usage example (Cross-references)
Usage examples (Cross-references)
- In
Graph.Ops.c:154:
GraphAddEdge(&graph, a, b);
bool result = !GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && GraphMarkEdgeForRemoval(&graph, a, b);
result = result && GraphEdgeMarkedForRemoval(&graph, a, b);- In
Graph.Ops.c:156:
bool result = !GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && GraphMarkEdgeForRemoval(&graph, a, b);
result = result && GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && !GraphMarkEdgeForRemoval(&graph, a, b);
result = result && GraphUnmarkEdgeForRemoval(&graph, a, b);- In
Graph.Ops.c:159:
result = result && !GraphMarkEdgeForRemoval(&graph, a, b);
result = result && GraphUnmarkEdgeForRemoval(&graph, a, b);
result = result && !GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && !GraphUnmarkEdgeForRemoval(&graph, a, b);
result = result && (GraphCommitChanges(&graph) == 0);- In
Graph.Ops.c:184:
bool result = GraphMarkEdgeForRemoval(&graph, a, b);
result = result && GraphMarkEdgeForRemoval(&graph, a, c);
result = result && GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && GraphEdgeMarkedForRemoval(&graph, a, c);
result = result && GraphUnmarkEdgeForRemoval(&graph, a, b);- In
Graph.Ops.c:185:
result = result && GraphMarkEdgeForRemoval(&graph, a, c);
result = result && GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && GraphEdgeMarkedForRemoval(&graph, a, c);
result = result && GraphUnmarkEdgeForRemoval(&graph, a, b);
result = result && !GraphEdgeMarkedForRemoval(&graph, a, b);- In
Graph.Ops.c:187:
result = result && GraphEdgeMarkedForRemoval(&graph, a, c);
result = result && GraphUnmarkEdgeForRemoval(&graph, a, b);
result = result && !GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && GraphEdgeMarkedForRemoval(&graph, a, c);
result = result && (GraphCommitChanges(&graph) == 1);- In
Graph.Ops.c:188:
result = result && GraphUnmarkEdgeForRemoval(&graph, a, b);
result = result && !GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && GraphEdgeMarkedForRemoval(&graph, a, c);
result = result && (GraphCommitChanges(&graph) == 1);
result = result && GraphHasEdge(&graph, a, b);- In
Graph.Ops.c:240:
bool result = GraphMarkEdgeForRemoval(&graph, a, b);
result = result && GraphMarkNodeForDeletion(GraphGetNode(&graph, b));
result = result && GraphEdgeMarkedForRemoval(&graph, a, b);
result = result && GraphNodeMarkedForDeletion(GraphGetNode(&graph, b));
result = result && (GraphCommitChanges(&graph) == 2);
Last updated on