Today I updated the wiki page for Enhanced API. Since the last edit many 
changes have taken place, so it was to to reflect those changes on the wiki 
page.

See: https://github.com/peterneubauer/graph-collections/wiki/Enhanced-API

I also changed what was previously called an "EdgeRole" into a "Connector". 

Every Edge has a number of Connectors to which Vertices connect.

The EdgeType of an Edge defines the ConnectorTypes of the Connectors of an Edge.

Each ConnectorType and with that a Connector, has a ConnectionMode, which can 
be one of these four:

Unrestricted: An Edge can connect to an unlimited number of Vertices through a 
Connector with an unrestricted mode, and a Vertex can have an unlimited number 
of connected Edges with a ConnectorType with an unrestricted ConnectionMode.
Injective: An Edge can connect to only one Vertex through a Connector with 
injective mode, but a Vertex can have an unlimited number of connected Edges 
with a ConnectorType with an injective ConnectionMode.
Surjective: An Edge can connect to an unlimited number of Vertices through a 
Connector with a surjective mode, but a Vertex can only have one Edge connected 
to it with a ConnectorType with a surjective ConnectionMode.
Bijective: An Edge can connect to only one Vertex through a Connector with 
bijective mode, and a Vertex can only have one Edge connected to it with a 
ConnectorType with a bijective ConnectionMode.
All ConnectionModes have been implemented.

The switch from EdgeRole to Connector with ConnectionModes has eliminated some 
of the more annoying type parameters found in the previous incarnation of 
Enhanced API.

                                          
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to