def __init__( self, name=None, ): TreeNode.__init__( self, name=name, )
def __init__( self, label=None, name=None, ): TreeNode.__init__(self, name=name) self._label = label self._edges = set([])
def __init__( self, preprolated_duration=1, q_event_proxies=None, is_divisible=True): from abjad.tools import quantizationtools TreeNode.__init__(self) RhythmTreeMixin.__init__(self, preprolated_duration) if q_event_proxies is None: self._q_event_proxies = [] else: assert all(isinstance(x, quantizationtools.QEventProxy) for x in q_event_proxies) self._q_event_proxies = list(q_event_proxies) self._is_divisible = bool(is_divisible)
def __init__( self, label=None, name=None, attributes=None, ): TreeNode.__init__( self, name=name, ) self._label = label if attributes is not None: attributes = dict(attributes) self._attributes = attributes
def __init__(self, preprolated_duration=1, q_event_proxies=None, is_divisible=True): from abjad.tools import quantizationtools TreeNode.__init__(self) RhythmTreeMixin.__init__(self, preprolated_duration) if q_event_proxies is None: self._q_event_proxies = [] else: assert all( isinstance(x, quantizationtools.QEventProxy) for x in q_event_proxies) self._q_event_proxies = list(q_event_proxies) self._is_divisible = bool(is_divisible)
def __init__(self, attributes=None, name=None): TreeNode.__init__(self, name=name) GraphvizObject.__init__(self, attributes=attributes) self._edges = set([])