ForceDiagram.is_vertex_connected

ForceDiagram.is_vertex_connected(key)[source]

Verify that a vertex is connected.

Parameters:

key (int) – The identifier of the vertex.

Returns:

bool – True if the vertex is connected to at least one other vertex. False otherwise.