Property | Type | Description | |
---|---|---|---|
AddToResult | void | ||
NewHeadToTailEdge | void | ||
NewTailToHeadEdge | void | ||
RemoveHeadToTailEdge | void | ||
RemoveTailToHeadEdge | void | ||
Traverse | HashSet | ||
Traverse | HashSet | ||
VertexType | System |
Method | Description | |
---|---|---|
CountVertices ( ) : long |
Count of vertcies
|
|
FindProperty ( string name ) : |
Gets the associated PropertyType given a propert type name or null if such property type does't exist.
|
|
GetEdges ( EdgeType etype, Direction dir ) : IEnumerable |
Enumerates edges connected wih this vertex type
|
|
GetEdges ( EdgeType edgeType, Vertex vertex1, Direction dir, Vertex vertex2 = null ) : IEnumerable |
Get all edges found between two vertices
|
|
GetEdges ( Vertex vertex1, Direction dir ) : IEnumerable |
Get all edges found from a given Vertex
|
|
GetNumberOfEdges ( EdgeType etype, Direction dir ) : long |
Get the number of edges of a certain type that can be found and an edge direction
|
|
GetNumberOfEdges ( EdgeType etype, |
Get the number of edges of a certain type that can be found associated with a vertex id and an edge direction
|
|
GetNumberOfEdges ( EdgeType edgeType, |
Get the number of edges of a certain type that can be found associated with a vertex id, another vertex id at other end and an edge direction
|
|
GetPropertyKeys ( ) : IEnumerable |
Return all the keys associated with the vertex type.
|
|
GetPropertyTypes ( ) : IEnumerable |
Return all the property types associated with vertex type.
|
|
GetPropertyValue ( |
Get the property value for a Vertex
|
|
GetTopNumberOfEdges ( EdgeType etype, int howMany, Direction dir ) : Vertex[] |
Get the top vertices with the most number of edges of the given edge type
|
|
GetVertex ( |
Instantiates a Vertex if it exist
|
|
GetVerticeIds ( ) : IEnumerable |
Get existing Vertex ids for this type
|
|
GetVertices ( EdgeType etype, Vertex vertex1, Direction dir ) : IEnumerable |
Get an enumeration of existing vertices of this type found by following an edge type
|
|
GetVertices ( bool polymorphic = false ) : IEnumerable |
Enumerates all vertices for the given type
|
|
NewProperty ( string name, DataType dt, PropertyKind kind ) : |
Creates a new Property.
|
|
NewVertex ( |
Creates a new Vertex
|
|
Remove ( ) : void |
Removes this VertexType from a graph. An exception is thrown if the VertexType is in use.
|
|
RemoveVertex ( Vertex vertex ) : void |
Removes a vertex from this type and graph
|
|
SetPropertyValue ( |
Sets a property value
|
|
ToString ( ) : string | ||
Unpersist ( SessionBase session ) : void |
Method | Description | |
---|---|---|
edgeVertexId ( System.Edge edge, |
Gets a combined Edge id and Vertex id
|
Method | Description | |
---|---|---|
AddToResult ( Dictionary |
||
NewHeadToTailEdge ( EdgeType edgeType, System.Edge edge, Vertex tail, Vertex head, SessionBase session ) : void | ||
NewTailToHeadEdge ( EdgeType edgeType, System.Edge edge, Vertex tail, Vertex head, SessionBase session ) : void | ||
RemoveHeadToTailEdge ( System.Edge edge ) : void | ||
RemoveTailToHeadEdge ( System.Edge edge ) : void | ||
Traverse ( Vertex vertex1, Direction dir, ISet |
||
Traverse ( Vertex vertex1, EdgeType etype, Direction dir ) : HashSet |
Selects all neighbor Vertices from or to this vertex and for the given edge type.
|
|
VertexType ( |
public FindProperty ( string name ) : |
||
name | string | A property type name |
return |
public GetEdges ( EdgeType etype, Direction dir ) : IEnumerable |
||
etype | EdgeType | A type of edge type to look for |
dir | Direction | Direction of edge |
return | IEnumerable |
public GetEdges ( EdgeType edgeType, Vertex vertex1, Direction dir, Vertex vertex2 = null ) : IEnumerable |
||
edgeType | EdgeType | Restrict to this type of edge |
vertex1 | Vertex | Start |
dir | Direction | Follow edges in this direction |
vertex2 | Vertex | End |
return | IEnumerable |
public GetEdges ( Vertex vertex1, Direction dir ) : IEnumerable |
||
vertex1 | Vertex | A |
dir | Direction | follow edges in this direction |
return | IEnumerable |
public GetNumberOfEdges ( EdgeType etype, Direction dir ) : long | ||
etype | EdgeType | Use this type of edge |
dir | Direction | Edge direction to follow |
return | long |
public GetNumberOfEdges ( EdgeType etype, |
||
etype | EdgeType | Type of edges to look for |
vertexId | Id of a |
|
dir | Direction | Edge direction to use |
return | long |
public GetNumberOfEdges ( EdgeType edgeType, |
||
edgeType | EdgeType | |
vertexId | Id of a |
|
vertexId2 | Id of a |
|
dir | Direction | Edge direction to use |
return | long |
public GetPropertyValue ( |
||
vertexId | Id of |
|
propertyType | Type of property | |
return | object |
public GetTopNumberOfEdges ( EdgeType etype, int howMany, Direction dir ) : Vertex[] | ||
etype | EdgeType | The edge type to look for |
howMany | int | How many top ones to collect |
dir | Direction | What end of edges to look at |
return | Vertex[] |
public GetVertex ( |
||
vertexId | id of Vertex we are looking for | |
polymorphic | bool | If true and id isn't found in this VertexType continue search into sub types |
errorIfNotFound | bool | Indicate what to do if Vertex does not exist |
return | Vertex |
public GetVertices ( EdgeType etype, Vertex vertex1, Direction dir ) : IEnumerable |
||
etype | EdgeType | Edge type to follow |
vertex1 | Vertex | Vertex to start from |
dir | Direction | Edge direction to follow |
return | IEnumerable |
public GetVertices ( bool polymorphic = false ) : IEnumerable |
||
polymorphic | bool | If true, also include all vertices of sub types of this VertexType |
return | IEnumerable |
public NewProperty ( string name, DataType dt, PropertyKind kind ) : |
||
name | string | Unique name for the new Property. |
dt | DataType | Data type for the new Property. |
kind | PropertyKind | Property kind. |
return |
public NewVertex ( |
||
vId | Optionally provide the Vertex id to use. | |
return | Vertex |
public RemoveVertex ( Vertex vertex ) : void | ||
vertex | Vertex | The vertex to remove |
return | void |
public SetPropertyValue ( |
||
vertexId | Id of |
|
propertyType | The type of property to set | |
v | IComparable | the value to set the property to |
return | void |
public Unpersist ( SessionBase session ) : void | ||
session | SessionBase | |
return | void |
protected edgeVertexId ( System.Edge edge, |
||
edge | System.Edge | Get edge id from this edge |
vertexId | A |
|
return | System.UInt64 |