Beispiel #1
0
 def _transform(self):
   self.properties["inputs"] = split_ports(self.properties["inputs"])
   self.properties["outputs"] = split_ports(self.properties["outputs"])
   for s in self.edges:
     for e in self.edges[s]:
       for v in self.edges[s][e]:
         edge = self.edges[s][e][v]
         edge["inputs"] = split_ports(edge["inputs"])
         edge["outputs"] = split_ports(edge["outputs"])
Beispiel #2
0
 def _transform(self):
   self._inputs = split_ports(self.properties["inputs"])
   self._outputs = split_ports(self.properties["outputs"])
   self._transform_nodes()
   self._transform_eadges()