class EdgeAttr(edge_type: Tuple[str, str, str], layout: EdgeLayout, is_sorted: bool = False, size: Optional[Tuple[int, int]] = None)[source]

Bases: CastMixin

Defines the attributes of a GraphStore edge. It holds all the parameters necessary to uniquely identify an edge from the GraphStore.

Note that the order of the attributes is important; this is the order in which attributes must be provided for indexing calls. GraphStore implementations can define a different ordering by overriding EdgeAttr.__init__().