Nils,
interesting approaches! However, IMHO the API is still too heavy to
grasp with ConnectorType, EdgeElement, EdgeType and Edge being
involved in creating connections between facts. Is anyone seeing a
more fluent/concise approach to this?  Also, did you have some ideas
about how to traverse or query these hyperedges?

Cheers,

/peter neubauer

GTalk:      neubauer.peter
Skype       peter.neubauer
Phone       +46 704 106975
LinkedIn   http://www.linkedin.com/in/neubauer
Twitter      http://twitter.com/peterneubauer

http://www.neo4j.org               - Your high performance graph database.
http://startupbootcamp.org/    - Öresund - Innovation happens HERE.
http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing party.



On Wed, Aug 10, 2011 at 1:19 AM, Niels Hoogeveen
<[email protected]> wrote:
>
> 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
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to