from OFS.SimpleItem import SimpleItem
from ploneintranet.network.graph import NetworkGraph
from ploneintranet.network.interfaces import INetworkTool
from Products.CMFCore.utils import UniqueObject
from zope.interface import implementer


@implementer(INetworkTool)
class NetworkTool(UniqueObject, SimpleItem, NetworkGraph):
    """Provide INetworkContainer as a site utility."""

    meta_type = "ploneintranet.network tool"
    id = "ploneintranet_network"
