Exemple #1
0
 def __init__(
     self,
     children=None,
     name=None,
     ):
     TreeContainer.__init__(
         self,
         children=children,
         name=name,
         )
 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)
Exemple #3
0
 def __init__(
     self,
     children=None,
     name=None,
     ):
     TreeContainer.__init__(
         self,
         children=children,
         name=name,
         )
Exemple #4
0
 def __init__(
     self,
     children=None,
     name=None,
     attributes=None,
 ):
     TreeContainer.__init__(
         self,
         children=children,
         name=name,
     )
     if attributes is not None:
         attributes = dict(attributes)
     self._attributes = attributes
Exemple #5
0
 def __init__(
     self,
     children=None,
     name=None,
     attributes=None,
     ):
     TreeContainer.__init__(
         self,
         children=children,
         name=name,
         )
     if attributes is not None:
         attributes = dict(attributes)
     self._attributes = attributes
Exemple #6
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([])
Exemple #7
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)
     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)
Exemple #8
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([])
Exemple #9
0
 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([])