- the width calulation of the O-CU svg rect can ignore one further
owned-node-edge-point
Issue-Id: OAM-256
Change-Id: I5230fa469f5bd28e3055124adf9be41734e3aba8
Signed-off-by: demx8as6 <martin.skorupski@highstreet-technologies.com>
"""
Class representing an SVG Element object as Connection Node Edge Point
"""
-
+
def label(self) -> str:
"""
Getter for the short label as displayed of the SVG Element
Getter for height of the SVG Element
:return Height in pixel
"""
- self.__height = 1*ConnectionEdgePoint.width(self)
+ self.__height = 1*ConnectionEdgePoint.width(self)
return self.__height
# overwrite
:return Width in pixel
"""
self.__width = max(2, len(self.tapi_object().data()[
- 'owned-node-edge-point'])+1)*ConnectionEdgePoint.width(self)
+ 'owned-node-edge-point'])+0)*ConnectionEdgePoint.width(self)
return self.__width
:return Width in pixel
"""
self.__width = max(2, len(self.tapi_object().data()[
- 'owned-node-edge-point'])+1)*ConnectionEdgePoint.width(self)
+ 'owned-node-edge-point'])+0)*ConnectionEdgePoint.width(self)
return self.__width