snarled/snarl/types.py

6 lines
189 B
Python
Raw Normal View History

2022-03-27 23:43:52 -07:00
from typing import Union, Tuple, List, Sequence, Optional
layer_t = Tuple[int, int]
contour_t = List[Tuple[int, int]]
connectivity_t = Sequence[Tuple[layer_t, Optional[layer_t], layer_t]]