Skip to content

webknossos.skeleton.group

#   class Group:
#   Group( name: str, skeleton: webknossos.skeleton.skeleton.Skeleton, enforced_id: Union[int, NoneType] = None )

Method generated by attrs for class Group.

#   name: str = <member 'name' of 'Group' objects>
#   id: int
#   def add_graph( self, name: str, color: Union[Tuple[float, float, float, float], Tuple[float, float, float], NoneType] = None, _enforced_id: Union[int, NoneType] = None ) -> webknossos.skeleton.graph.Graph:
#   children: collections.abc.Iterator[typing.Union[webknossos.skeleton.group.Group, webknossos.skeleton.graph.Graph]]
#   def add_group( self, name: str, _enforced_id: Union[int, NoneType] = None ) -> webknossos.skeleton.group.Group:
#   def get_total_node_count(self) -> int:
#   def get_max_graph_id(self) -> int:
#   def get_max_node_id(self) -> int:
#   def flattened_graphs( self ) -> Generator[webknossos.skeleton.graph.Graph, NoneType, NoneType]:
#   def flattened_groups( self ) -> collections.abc.Generator[webknossos.skeleton.group.Group, NoneType, NoneType]:
#   def get_node_by_id(self, node_id: int) -> webknossos.skeleton.node.Node:
#   def get_graph_by_id(self, graph_id: int) -> webknossos.skeleton.graph.Graph:
#   def get_group_by_id(self, group_id: int) -> webknossos.skeleton.group.Group:
#   def as_nml_group(self) -> webknossos.skeleton.nml.Group:
Back to top