Graphs

A new Graph object ca connect to a graph datastore via an adapter and load as an OGM

Graph friends:connect
OrientDb::graph_name
options = credentials

Or map an existing object or set of tupples

Graph friends:map
“Michael” “friends_with” “Nicole” “Nicole” “friends_with” “Sam”

Adapters work through a blueprint interface to query or execute gremlin, but you can also invoke blueprints directly

Graph friends:bluebrings {
# Code

}

ALL adapters implement DataAccess and GraphDbAdapter

Altogether now:

Graph friends:connect
OriendDb::users

bestFriends = friends.out(“best”).levels(3).walk()

A Sub H

Hello, yo!