def serialize(self): default = NodeBase.serialize(self) if self.var is not None: default['varUid'] = str(self.var.uid) return default
def serialize(self): default = NodeBase.serialize(self) default['graphData'] = self.rawGraph.serialize() return default