diff --git a/gns3server/controller/drawing.py b/gns3server/controller/drawing.py index 47c09d0e..b20cd80f 100644 --- a/gns3server/controller/drawing.py +++ b/gns3server/controller/drawing.py @@ -37,7 +37,7 @@ class Drawing: text, images, rectangle... They are pure SVG elements. """ - def __init__(self, project, drawing_id=None, svg="", x=0, y=0, z=0, rotation=0): + def __init__(self, project, drawing_id=None, svg="", x=0, y=0, z=2, rotation=0): self._project = project if drawing_id is None: self._id = str(uuid.uuid4()) diff --git a/gns3server/controller/node.py b/gns3server/controller/node.py index e034fee1..801f7193 100644 --- a/gns3server/controller/node.py +++ b/gns3server/controller/node.py @@ -71,7 +71,7 @@ class Node: self._status = "stopped" self._x = 0 self._y = 0 - self._z = 0 + self._z = 1 # default z value is 1 self._ports = None self._symbol = None self._custom_adapters = []