def __init__(self, attributes=None, is_directed=True): GraphvizObject.__init__(self, attributes=attributes) self._head = None self._tail = None self._is_directed = bool(is_directed) self._head_port_position = None self._tail_port_position = None
def __init__( self, attributes=None, children=None, edge_attributes=None, is_digraph=True, name=None, node_attributes=None ): TreeContainer.__init__(self, children=children, name=name) GraphvizObject.__init__(self, attributes=attributes) assert isinstance(edge_attributes, (dict, type(None))) assert isinstance(node_attributes, (dict, type(None))) self._verify_attributes(edge_attributes, "_edge_attributes") self._verify_attributes(node_attributes, "_node_attributes") self._is_digraph = bool(is_digraph)
def __init__( self, attributes=None, children=None, edge_attributes=None, is_digraph=True, name=None, node_attributes=None ): TreeContainer.__init__(self, children=children, name=name) GraphvizObject.__init__(self, attributes=attributes) assert isinstance(edge_attributes, (dict, type(None))) assert isinstance(node_attributes, (dict, type(None))) self._verify_attributes(edge_attributes, '_edge_attributes') self._verify_attributes(node_attributes, '_node_attributes') self._is_digraph = bool(is_digraph)
def __init__( self, attributes=None, children=None, name=None, ): self._children = [] TreeContainer.__init__( self, children=children, name=name, ) GraphvizObject.__init__( self, attributes=attributes, ) self._edges = set([])
def __init__(self, attributes=None, name=None): TreeNode.__init__(self, name=name) GraphvizObject.__init__(self, attributes=attributes) self._edges = set([])