# Path: autonetkit/network_model/exceptions.py
# class PortNotFound(Exception):
#     pass
# 
# Path: autonetkit/network_model/types.py
# class DeviceType(Enum):
# class PortType(Enum):
#     ROUTER = "Router"
#     SWITCH = "Switch"
#     HOST = "Host"
#     VIRTUAL = "Virtual"
#     BROADCAST_DOMAIN = "Broadcast Domain"
# LAYER3_DEVICES = {DeviceType.ROUTER, DeviceType.HOST}
#     PHYSICAL = "Physical"
#     LOGICAL = "Logical"


import typing
from autonetkit.network_model.exceptions import PortNotFound
from autonetkit.network_model.types import NodeId, DeviceType, PortType
    from autonetkit.network_model.topology import Topology
    from autonetkit.network_model.port import Port
    from autonetkit.network_model.link import Link
if typing.TYPE_CHECKING:


class Node:
    """

    """

    def __init__(self, topology: 'Topology', id):
        self.topology: Topology = topology
        self.id: NodeId = id
        self._data = {}

    @property
    def local_data(self) -> typing.Dict:
        """

        @return:
        """
        return self._data

    @property
    def label(self) -> str:
        """

        @return:
        """
        return self.get("label")

    @property

# Path: autonetkit/network_model/exceptions.py
# class PortNotFound(Exception):
#     pass
# 
# Path: autonetkit/network_model/types.py
# class DeviceType(Enum):
# class PortType(Enum):
#     ROUTER = "Router"
#     SWITCH = "Switch"
#     HOST = "Host"
#     VIRTUAL = "Virtual"
#     BROADCAST_DOMAIN = "Broadcast Domain"
# LAYER3_DEVICES = {DeviceType.ROUTER, DeviceType.HOST}
#     PHYSICAL = "Physical"
#     LOGICAL = "Logical"


# Path: autonetkit/network_model/node.py
import typing
from autonetkit.network_model.exceptions import PortNotFound
from autonetkit.network_model.types import NodeId, DeviceType, PortType
    from autonetkit.network_model.topology import Topology
    from autonetkit.network_model.port import Port
    from autonetkit.network_model.link import Link

if typing.TYPE_CHECKING:


class Node:
    """

    """

    def __init__(self, topology: 'Topology', id):
        self.topology: Topology = topology
        self.id: NodeId = id
        self._data = {}

    @property
    def local_data(self) -> typing.Dict:
        """

        @return:
        """
        return self._data

    @property
    def label(self) -> str:
        """

        @return:
        """
        return self.get("label")

    @property

    def type(self) -> DeviceType: