diff -r d42b6cf00fa6 -r c507c363625e graphics/GraphicCommons.py --- a/graphics/GraphicCommons.py Fri Sep 29 15:36:33 2017 +0300 +++ b/graphics/GraphicCommons.py Fri Sep 29 16:26:15 2017 +0300 @@ -34,12 +34,10 @@ # ------------------------------------------------------------------------------- # Common constants +# +# Definition of constants for dimensions of graphic elements # ------------------------------------------------------------------------------- -""" -Definition of constants for dimensions of graphic elements -""" - # FBD and SFC constants MIN_MOVE = 5 # Minimum move before starting a element dragging CONNECTOR_SIZE = 8 # Size of connectors @@ -128,10 +126,9 @@ return int(xround * n) -""" -Basic vector operations for calculate wire points -""" - +# ------------------------------------------------------------------------------- +# Basic vector operations for calculate wire points +# ------------------------------------------------------------------------------- def vector(p1, p2, normal=True): """