def links(self, obj):
if obj in self.edge_links:<EOL><INDENT>return self.edge_links[obj]<EOL><DEDENT>else:<EOL><INDENT>return self.node_links[obj]<EOL><DEDENT>
Return all nodes connected by the given hyperedge or all hyperedges
connected to the given hypernode.

@type  obj: hyperedge
@param obj: Object identifier.

@rtype:  list
@return: List of node objects linked to the given hyperedge.