GSTPy.NetworkInterface.create_element_link_adjacency — GSTPy documentation

# GSTPy.NetworkInterface.create_element_link_adjacency

`NetworkInterface.``create_element_link_adjacency`((NetworkInterface)self, (Element)element, (Owner)owner[, (LinkAdjacency)parent_link=None]) → LinkAdjacency :

  Create a new MoMa link to an element and add it as child to the parent link.

  Parameters

    - element (Element) – The element.

    - owner (Owner) – The owner of the new link.

    - parent_link (LinkAdjacency) –

      The parent of the new link.

      Defaults to None. The new link is created on the first level.

  Returns

    The new link.

  Return type

    LinkAdjacency