gplugins icon indicating copy to clipboard operation
gplugins copied to clipboard

netlist visualization

Open joamatab opened this issue 1 year ago • 3 comments

The netlist visualization overrides the previous one

@flaport

Image

joamatab avatar May 14 '24 21:05 joamatab

The problem occurs because the id of the div element containing canvas is not unique and when calling the getElementById will always return the first dom element associated with the id.

https://github.com/gdsfactory/gplugins/blob/fcf92dd45f8f8981802e6985e1e3e9b7f7419c96/gplugins/gfviz/templates/index.html#L35

Vivswan avatar May 22 '24 18:05 Vivswan

@joamatab Do you have the source code for schemedit.wasm? I think the id netlist is embeded in code of schemedit.wasm as well.

Vivswan avatar May 28 '24 05:05 Vivswan

this was done by @flaport

joamatab avatar May 28 '24 16:05 joamatab