Graph

class Graph

Methods

Attributes

adjacency

adjacency property

edges

edges property

nodes

nodes property

shape

shape property

type

type property

__init__(*args, **kwargs)
__repr__(self) str

__repr__

戻り値の型:

str

__str__(self) str

__str__

戻り値の型:

str

property adjacency

adjacency property

戻り値の型:

list[list[int]]

property edges

edges property

戻り値の型:

list[tuple[int, int]]

property nodes

nodes property

戻り値の型:

list[int]

property shape

shape property

戻り値の型:

list[int]

property type

type property

戻り値の型:

str