Use LayerSpec in Component.show()
See original GitHub issueIs your feature request related to a problem? Please describe.
I am not sure how I can permanently overwrite the layer that c.show()
puts the port triangles. Currently the default is hard coded to (1, 12)
.
Describe the solution you’d like I believe it would make sense to change this line to use a string LayerSpec, so that it can be dynamically set by a PDK
Issue Analytics
- State:
- Created a year ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
PDK — gdsfactory 6.3.5 documentation - GitHub Pages
You can define all the layers from your PDK: ... Lets generate the layers definition code from a klayout lyp file. ... There...
Read more >Map Layers - Creating New Unfolded Map - Observable
We'll show how to create new local map instance and load data for the displayed map ... and removeDataset() methods for adding and...
Read more >vega lite - Can you have facets & layers in single Vegalite plot?
I am struggling to understand why a layer spec like the below: ... question: can I have a trellis plot using facet as...
Read more >The Future of CSS: Cascade Layers (CSS @layer) - Bram.us
Using @import with the layer keyword or layer() function: ... @layer components; @layer default { audio[controls] { display: block; } }.
Read more >DeepSpeed - Release 0.8.0 Microsoft
Use deepspeed.add_config_arguments() to add DeepSpeed's builtin arguments to ... layer (e.g. (True, 8) shows we quantize the model using 8 groups for all....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Putting it on
PORT
was actually also my first thought. But I also see your point Troy. I am not sure however how much of a problem it is, specially withshow_ports
beingFalse
by default. If you have stuff in thePORT
layer withoutshow_ports
you know it is put in permanently. On the other hand one could also put it onSHOW_PORT
and allow to coalesceSHOW_PORT
andPORT
into the same GDS layer, providing fine grain control to PDK owners to keep them separate or merged at will.what do you think of this?
https://github.com/gdsfactory/gdsfactory/pull/443