Coverage for backend/django/core/auxiliary/enums/unitOpGraphics.py: 100%
42 statements
« prev ^ index » next coverage.py v7.10.7, created at 2026-07-22 05:22 +0000
« prev ^ index » next coverage.py v7.10.7, created at 2026-07-22 05:22 +0000
1from django.db import models
3class AlignDirection(models.TextChoices):
4 Left = "Left"
5 Center = "Center"
6 Right = "Right"
7 Top = "Top"
8 Middle = "Middle"
9 Bottom = "Bottom"
10 EqualizeHorizontal = "EqualizeHorizontal"
11 EqualizeVertical = "EqualizeVertical"
14class ConType(models.TextChoices):
15 Inlet = "inlet"
16 Outlet = "outlet"
17 Branch="branch"
19class AnchorSide(models.TextChoices):
20 Left = "left", "Left"
21 Right = "right", "Right"
22 Top = "top", "Top"
23 Bottom = "bottom", "Bottom"
25class ConDir(models.TextChoices):
26 Up = "Up"
27 Down = "Down"
28 Right = "Right"
29 Left = "Left"
31class Status(models.TextChoices):
32 Calculated = "Calculated"
33 Calculating = "Calculating"
34 ErrorCalculating = "ErrorCalculating"
35 Inactive = "Inactive"
36 Idle = "Idle"
37 NotCalculated = "NotCalculated"
38 Modified = "Modified"
40class accelerationMethod(models.IntegerChoices):
41 None,
42 Wegstein =1,
43 Dominant_Eigenvalue=2,
44 GlobalBroyden=3,
46class FontStyle(models.IntegerChoices):
47 Regular = 0
48 Bold = 1
49 Italic = 2
50 BoldItalic = 3