Sample curl with shapes

This commit is contained in:
Julien Duponchelle committed 2016-06-22 18:14:14 +02:00
1 parent bc613e9fd8
commit b456a363ca
120 files changed
+335 -282

No files matched your search

+1 -2
View File
@@ -24,6 +24,7 @@ class Shape:
Shape are visual element not used by the network emulation. Like
text, images, rectangle... They are pure SVG elements.
"""
def __init__(self, project, shape_id=None, svg="<svg></svg>", x=0, y=0, z=0, rotation=0):
self.svg = svg
self._project = project
@@ -127,5 +128,3 @@ class Shape:
def __repr__(self):
return "<gns3server.controller.Shape {}>".format(self._id)