| pyvgx.Graph Enumeration Methods | Description |
|---|---|
Define relationship type |
|
Return relationship type by enum |
|
Return defined relationship types |
|
Define vertex type |
|
Return vertex type by enum |
|
Return defined vertex types |
|
Define vector dimension |
|
Return vector dimension by enum |
|
Define property key |
|
Return property key by enum |
|
Return defined property keys |
|
Define property string value |
|
Return property string value by enum |
|
Return defined property string values |
|
1. Relationships
1.1. pyvgx.Graph.EnumRelationship()
pyvgx.Graph.EnumRelationship( relationship_name )
Return enumeration code for relationship_name. New enumeration mapping is created if relationship_name is previously undefined.
1.2. pyvgx.Graph.Relationship()
pyvgx.Graph.Relationship( code )
Return the relationship name associated with enumeration code if it exists, otherwise raise pyvgx.EnumerationError.
1.3. pyvgx.Graph.Relationships()
pyvgx.Graph.Relationships()
Return a dictionary of all existing { relationship_name : code } mappings.
2. Vertex Types
2.1. pyvgx.Graph.EnumVertexType()
pyvgx.Graph.EnumVertexType( vertex_type )
Return enumeration code for vertex_type. New enumeration mapping is created if vertex_type is previously undefined.
2.2. pyvgx.Graph.VertexType()
pyvgx.Graph.VertexType( code )
Return the vertex type name associated with enumeration code if it exists, otherwise raise pyvgx.EnumerationError.
2.3. pyvgx.Graph.VertexTypes()
pyvgx.Graph.VertexTypes()
Return a dictionary of all existing { vertex_type : code } mappings.
3. Vector Dimensions
3.1. pyvgx.Graph.EnumDimension()
pyvgx.Graph.EnumDimension( dimension )
Return enumeration code for dimension. New enumeration mapping is created if dimension is previously undefined.
3.2. pyvgx.Graph.Dimension()
pyvgx.Graph.Dimension( code )
Return the dimension associated with enumeration code if it exists, otherwise raise pyvgx.EnumerationError.
4. Property Keys
4.1. pyvgx.Graph.EnumKey()
pyvgx.Graph.EnumKey( key )
Return enumeration code for property key. New enumeration mapping is created if key is previously undefined.
4.2. pyvgx.Graph.Key()
pyvgx.Graph.Key( code )
Return the property key associated with enumeration code if it exists, otherwise raise pyvgx.EnumerationError.
4.3. pyvgx.Graph.PropertyKeys()
pyvgx.Graph.PropertyKeys()
Return a dictionary of all existing { key : code } mappings.
5. Property String Values
5.1. pyvgx.Graph.EnumValue()
pyvgx.Graph.EnumValue( string )
Return enumeration code for property string value. New enumeration mapping is created if string is previously undefined.
5.2. pyvgx.Graph.Value()
pyvgx.Graph.Value( code )
Return the property string value associated with enumeration code if it exists, otherwise raise pyvgx.EnumerationError.
