Static member | Description |
|
|
|
|
|
|
|
|
|
|
|
Clones an existing graph Note: Current implementation subject to change [see here for further info](https://github.com/fslaborg/Graphoscope/issues/52#issuecomment-1741746696)
|
Full Usage:
FGraph.containsEdge v1 v2 g
Parameters:
'NodeKey
v2 : 'NodeKey
g : FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: bool
|
Returns true, if the edge from vertex v1 to vertex v2 is contained in the graph. Otherwise, it returns false.
|
Full Usage:
FGraph.containsNode vk g
Parameters:
'NodeKey
g : FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: bool
|
|
|
|
|
|
Full Usage:
FGraph.create (nodes, edges)
Parameters:
seq<'NodeKey * 'NodeData>
edges : seq<'NodeKey * 'NodeKey * 'EdgeData>
Returns: FGraph<'NodeKey, 'NodeData, 'EdgeData>
FGraph
|
|
|
|
Full Usage:
FGraph.createFromNodes nodes
Parameters:
seq<'NodeKey * 'NodeData>
Returns: FGraph<'NodeKey, 'NodeData, 'EdgeData>
FGraph
|
|
Full Usage:
FGraph.findEdge v1 v2 g
Parameters:
'NodeKey
v2 : 'NodeKey
g : FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: 'NodeKey * 'NodeKey * 'EdgeData
|
|
Full Usage:
FGraph.findNode n g
Parameters:
'NodeKey
g : FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: 'NodeKey * 'NodeData
|
Lookup a labeled vertex in the graph. Raising KeyNotFoundException if no binding exists in the graph.
|
Full Usage:
FGraph.getNodes g
Parameters:
FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: seq<'NodeKey * 'NodeData>
|
|
Full Usage:
FGraph.iterEdges action graph
Parameters:
'NodeKey -> 'NodeKey -> 'EdgeData -> unit
graph : FGraph<'NodeKey, 'NodeData, 'EdgeData>
|
|
Full Usage:
FGraph.iteriEdges action graph
Parameters:
int -> 'NodeKey -> 'NodeKey -> 'EdgeData -> unit
graph : FGraph<'NodeKey, 'NodeData, 'EdgeData>
|
Applies the given function on every edge of the graph, which also receives an ascending integer index.
|
|
|
Full Usage:
FGraph.ofSeq edgelist
Parameters:
seq<'NodeKey * 'NodeData * 'NodeKey * 'NodeData * 'EdgeData>
Returns: FGraph<'NodeKey, 'NodeData, 'EdgeData>
|
|
|
|
Full Usage:
FGraph.removeMany edgeSeq removeF g
Parameters:
seq<'NodeKey * 'NodeKey>
removeF : 'NodeKey -> 'NodeKey -> FGraph<'NodeKey, 'NodeData, 'EdgeData> -> FGraph<'NodeKey, 'NodeData, 'EdgeData>
g : FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: FGraph<'NodeKey, 'NodeData, 'EdgeData>
|
|
|
|
Full Usage:
FGraph.reverseEdges graph
Parameters:
FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: Dictionary<'NodeKey, FContext<'NodeKey, 'NodeData, 'EdgeData>>
|
|
|
|
Full Usage:
FGraph.toArray2D nodeIndexer
Parameters:
'NodeKey -> int
Returns: FGraph<'NodeKey, 'NodeData, 'EdgeData> -> 'EdgeData[,]
An array2d
|
|
Full Usage:
FGraph.toEdgeSeq graph
Parameters:
FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: seq<'NodeKey * 'NodeKey * 'EdgeData>
|
|
Full Usage:
FGraph.toSeq graph
Parameters:
FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: seq<'NodeKey * 'NodeData * 'NodeKey * 'NodeData * 'EdgeData>
|
|
|
|
Full Usage:
FGraph.tryFindEdge nk1 nk2 g
Parameters:
'NodeKey
nk2 : 'NodeKey
g : FGraph<'NodeKey, 'NodeData, 'EdgeData>
Returns: ('NodeKey * 'NodeKey * 'EdgeData) option
|
|