Graph¶ class Graph¶ Methods __init__ Attributes adjacency adjacency property edges edges property nodes nodes property shape shape property type type property __init__(*args, **kwargs)¶ __repr__(self) → str¶ __repr__ Return type: str __str__(self) → str¶ __str__ Return type: str property adjacency¶ adjacency property Return type: list[list[int]] property edges¶ edges property Return type: list[tuple[int, int]] property nodes¶ nodes property Return type: list[int] property shape¶ shape property Return type: list[int] property type¶ type property Return type: str