networks[delete] - delete edges or vertices from a graph
|
Calling Sequence
|
|
delete(Eset, G)
delete(Vset, G)
|
|
Parameters
|
|
G
|
-
|
graph or network
|
Eset
|
-
|
edge or a set or list of edges
|
Vset
|
-
|
vertex or a set or list of vertices
|
|
|
|
|
Description
|
|
•
|
This procedure modifies the given graph G by deleting the indicated edges or vertices. In each case the modified graph is also available as the value of the procedure call.
|
•
|
Either sets of edges or sets of vertices may be deleted from the graph G. In either case, the graph structure, including edge and vertex weight tables and neighbor sets are updated.
|
•
|
If G must be preserved unmodified then use duplicate() to create a copy of the graph G prior to any use of delete().
|
•
|
This routine is normally loaded via the command with(networks) but may also be referenced using the full name networks[delete](...).
|
|
|
Download Help Document
Was this information helpful?