delete some extra print statement
This commit is contained in:
parent
6a43f73940
commit
7e2ebb4a2c
2 changed files with 0 additions and 5 deletions
|
@ -309,7 +309,6 @@ class CoreClient:
|
||||||
for key, annotation_config in config.items():
|
for key, annotation_config in config.items():
|
||||||
if "annotation" in key:
|
if "annotation" in key:
|
||||||
annotation_config = json.loads(annotation_config)
|
annotation_config = json.loads(annotation_config)
|
||||||
print(annotation_config)
|
|
||||||
config_type = annotation_config["type"]
|
config_type = annotation_config["type"]
|
||||||
if config_type in ["rectangle", "oval"]:
|
if config_type in ["rectangle", "oval"]:
|
||||||
coords = tuple(annotation_config["iconcoords"])
|
coords = tuple(annotation_config["iconcoords"])
|
||||||
|
@ -508,7 +507,6 @@ class CoreClient:
|
||||||
"""
|
"""
|
||||||
node_protos = [x.core_node for x in self.canvas_nodes.values()]
|
node_protos = [x.core_node for x in self.canvas_nodes.values()]
|
||||||
link_protos = list(self.links.values())
|
link_protos = list(self.links.values())
|
||||||
print(node_protos)
|
|
||||||
if self.get_session_state() != core_pb2.SessionState.DEFINITION:
|
if self.get_session_state() != core_pb2.SessionState.DEFINITION:
|
||||||
self.client.set_session_state(
|
self.client.set_session_state(
|
||||||
self.session_id, core_pb2.SessionState.DEFINITION
|
self.session_id, core_pb2.SessionState.DEFINITION
|
||||||
|
@ -535,7 +533,6 @@ class CoreClient:
|
||||||
self.created_links.add(
|
self.created_links.add(
|
||||||
tuple([link_proto.node_one_id, link_proto.node_two_id])
|
tuple([link_proto.node_one_id, link_proto.node_two_id])
|
||||||
)
|
)
|
||||||
print(self.app.core.client.get_session(self.app.core.session_id))
|
|
||||||
|
|
||||||
def close(self):
|
def close(self):
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -106,8 +106,6 @@ class Shape:
|
||||||
)
|
)
|
||||||
_x = (x0 + x1) / 2
|
_x = (x0 + x1) / 2
|
||||||
_y = y0 + 1.5 * data.font_size
|
_y = y0 + 1.5 * data.font_size
|
||||||
print("create text with text: ", data.text)
|
|
||||||
print(data.text_color)
|
|
||||||
self.text_id = self.canvas.create_text(
|
self.text_id = self.canvas.create_text(
|
||||||
_x, _y, tags="shapetext", text=data.text, fill=data.text_color
|
_x, _y, tags="shapetext", text=data.text, fill=data.text_color
|
||||||
)
|
)
|
||||||
|
|
Loading…
Add table
Reference in a new issue