General functions for both directed and undirected graphs
Function or value | Description |
|
Lookup a context in the graph. If the binding exists, it returns the context and the graph minus the vertex and its edges. Raising KeyNotFoundException if no binding exists in the graph.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Lookup a context in the graph. If the binding exists, it returns a Some value of the context and the graph minus the vertex and its edges. If it doesn't exist, returns None and the initial graph.
|
|
|