GSTPy.NetworkInterface.create_feature_link_adjacency — GSTPy documentation

# GSTPy.NetworkInterface.create_feature_link_adjacency

`NetworkInterface.``create_feature_link_adjacency`((NetworkInterface)self, (FeatureDesc)feature, (Owner)owner[, (LinkAdjacency)parent_link=None]) → LinkAdjacency :

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

  Parameters:

  - feature (FeatureDesc) – The feature.
  - 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