EdgeSet
Last update: 16.07.2026class compolyx.EdgeSet(graph, obj=None, parent=None)
Edge Set class.
Attributes
| Name | Description |
|---|---|
EdgeSet.active |
Active status of the object. |
EdgeSet.changed |
Status boolean. |
EdgeSet.display_data |
The edge set mesh plot. |
EdgeSet.edge_set_type |
Edge Set Types can be: "By Reference", "By Nodes". |
EdgeSet.element_set |
|
EdgeSet.enabled |
Indicates whether the object is enabled. |
EdgeSet.id |
ID of the object. |
EdgeSet.is_closed |
Edge Set is closed. |
EdgeSet.is_dict_item |
Indicates whether the object is an item in a dictionary. |
EdgeSet.is_list_item |
Indicates whether the object is an item of a list. |
EdgeSet.limit_angle |
Edge Set limit angle for creation of edge set by reference. |
EdgeSet.link_path |
Root path of the current node in the tree for links to this object. |
EdgeSet.locked |
Edge Set is imported and cannot be changed. |
EdgeSet.mesh |
The edge set mesh. |
EdgeSet.name |
Name of the object. |
EdgeSet.node_labels |
Node labels defining the NodeSet (only if type='By Nodes'). |
EdgeSet.nodes |
Node indexes/labels of the Edge Set. |
EdgeSet.origin |
Edge Set origin for creation of edge set by reference. |
EdgeSet.parent |
Parent object in the tree. |
EdgeSet.root_path |
Root path of the current node in the tree. |
EdgeSet.status |
Status of the object. |
EdgeSet.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
EdgeSet.uid |
UID of the object. |
EdgeSet.vertex |
Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
EdgeSet.average_normal_direction() |
|
EdgeSet.center() |
|
EdgeSet.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
EdgeSet.get_nodes() |
Return Python list with nodes as objects. |
EdgeSet.get_short_description() |
|
EdgeSet.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
EdgeSet.serialize() |
Serialize to Python string. |
EdgeSet.serialize_name_and_id() |
Serializes the name and ID. |
EdgeSet.update() |
|
EdgeSet.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |