1
import
gdsfactory
as
gf
2
import
gdsfactory.components
as
gc
5
ref1 = c << gc.rectangle(size=(10, 10), layer="WG")
6
ref2 = c << gc.text("Hello", size=10, layer="WG")
7
ref3 = c << gc.text("world", size=10, layer="WG")
9
ref1.dxmax = ref2.dxmin - 5
10
ref3.dxmin = ref2.dxmax + 2