Source code for graspologic.layouts.classes

# Copyright (c) Microsoft Corporation.
# Licensed under the MIT license.

from typing import NamedTuple

__all__ = [
    "NodePosition",
]


[docs]class NodePosition(NamedTuple): """ Contains the node id, 2d coordinates, size, and community id for a node. """ node_id: str x: float y: float size: float community: int