from typing import Tuple

Point = Tuple[int, int]
Segment = Tuple[Point, Point]

NID = str
Color3 = Tuple[int, int, int]
Color4 = Tuple[int, int, int, int]
from typing import Tuple

Point = Tuple[int, int]
Segment = Tuple[Point, Point]

NID = str
Color3 = Tuple[int, int, int]
Color4 = Tuple[int, int, int, int]