pyvgx.Graph Enumeration Methods Description

Relationships

pyvgx.Graph.EnumRelationship()

Define relationship type

pyvgx.Graph.Relationship()

Return relationship type by enum

pyvgx.Graph.Relationships()

Return defined relationship types

Vertex Types

pyvgx.Graph.EnumVertexType()

Define vertex type

pyvgx.Graph.VertexType()

Return vertex type by enum

pyvgx.Graph.VertexTypes()

Return defined vertex types

Vector Dimensions

pyvgx.Graph.EnumDimension()

Define vector dimension

pyvgx.Graph.Dimension()

Return vector dimension by enum

Property Keys

pyvgx.Graph.EnumKey()

Define property key

pyvgx.Graph.Key()

Return property key by enum

pyvgx.Graph.PropertyKeys()

Return defined property keys

Property String Values

pyvgx.Graph.EnumValue()

Define property string value

pyvgx.Graph.Value()

Return property string value by enum

pyvgx.Graph.PropertyStringValues()

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.

5.3. pyvgx.Graph.PropertyStringValues()

pyvgx.Graph.PropertyStringValues()

Return a dictionary of all existing { string : code } mappings.


PYVGX