(self)
| 67 | self.color = theme_color if theme_color is not None else ThemeColor.AddressColor |
| 68 | |
| 69 | def _to_core_struct(self) -> core.BNEdgeStyle: |
| 70 | result = core.BNEdgeStyle() |
| 71 | result.style = int(self.style) |
| 72 | result.width = self.width |
| 73 | result.color = self.color |
| 74 | return result |
| 75 | |
| 76 | @staticmethod |
| 77 | def from_core_struct(edge_style): |