get_topo_edges_of_label_name_pattern#

Part.get_topo_edges_of_label_name_pattern(label_name_pattern, name_pattern_params)#

Get topoedge ids of labels with name matching the given name pattern.

Parameters:
label_name_patternstr

Name pattern to be matched with label name.

name_pattern_paramsNamePatternParams

Name pattern parameters used to match label name pattern.

Returns:
Iterable[int]

Return the ids of topoedges.

Return type:

Iterable[int]

Examples

>>> topo_edges = part.get_topo_edges_of_label_name_pattern(
>>>                   label_name_pattern = "edge_label",
>>>                   params = prime.NamePatternParams(model=model))