snarled/snarl/types.py

6 lines
192 B
Python
Raw Normal View History

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