Exemple #1
0
    def _start_graph(self, attrs):
        id = attrs.get("id")

        if not self._sparse or id in self._id2graph:
            self._graph = self._id2graph[id] = DaesoGraph(id=attrs["id"])
            self._comp_attrs = self._graph.graph
            self._set_defaults()
 def test_init(self):
     DaesoGraph()
 def setUp(self):
     self.dg = DaesoGraph()