def relationships(self): """ Set of all relationships. """ return SetView(self.__relationships)
def relationships(self): """ The set of all relationships in this subgraph. """ return SetView(self.__relationships)
def nodes(self): """ Set of all nodes. """ return SetView(self.__nodes)
def nodes(self): """ The set of all nodes in this subgraph. """ return SetView(self.__nodes)