def __init__(self,
                 editor=None,
                 name=None,
                 parent=None,
                 children=None,
                 roles=None,
                 node_flags=int(Qt.ItemIsSelectable | Qt.ItemIsEnabled),
                 attributes_flags=int(Qt.ItemIsSelectable | Qt.ItemIsEnabled),
                 **kwargs):
        """
        Initializes the class.

        :param name: Node name.
        :type name: unicode
        :param parent: Node parent.
        :type parent: GraphModelNode
        :param children: Children.
        :type children: list
        :param roles: Roles.
        :type roles: dict
        :param node_flags: Node flags.
        :type node_flags: int
        :param attributes_flags: Attributes flags.
        :type attributes_flags: int
        :param \*\*kwargs: Keywords arguments.
        :type \*\*kwargs: \*\*
        """

        LOGGER.debug("> Initializing '{0}()' class.".format(self.__class__.__name__))

        umbra.ui.nodes.GraphModelNode.__init__(self, name, parent, children, roles, node_flags, **kwargs)

        # --- Setting class attributes. ---
        self.__editor = None
        self.editor = editor

        EditorNode.__initialize_node(self, attributes_flags)
def __init__ ( self , editor = None , name = None , parent = None , children = None , roles = None , node_flags = int ( Qt . ItemIsSelectable | Qt . ItemIsEnabled ) , attributes_flags = int ( Qt . ItemIsSelectable | Qt . ItemIsEnabled ) , ** kwargs ) : LOGGER . debug ( "> Initializing '{0}()' class." . format ( self . __class__ . __name__ ) ) umbra . ui . nodes . GraphModelNode . __init__ ( self , name , parent , children , roles , node_flags , ** kwargs ) self . __editor = None self . editor = editor EditorNode . __initialize_node ( self , attributes_flags )
Initializes the class.

        :param name: Node name.
        :type name: unicode
        :param parent: Node parent.
        :type parent: GraphModelNode
        :param children: Children.
        :type children: list
        :param roles: Roles.
        :type roles: dict
        :param node_flags: Node flags.
        :type node_flags: int
        :param attributes_flags: Attributes flags.
        :type attributes_flags: int
        :param \*\*kwargs: Keywords arguments.
        :type \*\*kwargs: \*\*