Ejemplo n.º 1
0
 def __init__(
     self,
     attributes=None,
     is_directed=True,
     head_port_position=None,
     tail_port_position=None,
 ):
     GraphvizMixin.__init__(self, attributes=attributes)
     self._head = None
     self._tail = None
     self._is_directed = bool(is_directed)
     self.head_port_position = head_port_position
     self.tail_port_position = tail_port_position
Ejemplo n.º 2
0
 def __init__(
     self,
     attributes=None,
     is_directed=True,
     head_port_position=None,
     tail_port_position=None,
     ):
     GraphvizMixin.__init__(self, attributes=attributes)
     self._head = None
     self._tail = None
     self._is_directed = bool(is_directed)
     self.head_port_position = head_port_position
     self.tail_port_position = tail_port_position
Ejemplo n.º 3
0
 def __init__(
     self,
     attributes=None,
     children=None,
     name=None,
     ):
     TreeContainer.__init__(
         self,
         children=children,
         name=name,
         )
     GraphvizMixin.__init__(
         self,
         attributes=attributes,
         )
     self._edges = set([])
Ejemplo n.º 4
0
 def __init__(
     self,
     attributes=None,
     children=None,
     name=None,
 ):
     TreeContainer.__init__(
         self,
         children=children,
         name=name,
     )
     GraphvizMixin.__init__(
         self,
         attributes=attributes,
     )
     self._edges = set([])
Ejemplo n.º 5
0
 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)
     GraphvizMixin.__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)
     self._node_order = None
Ejemplo n.º 6
0
 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)
     GraphvizMixin.__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)
     self._node_order = None