How to resize the Nodes inside the palette with respect to screen size


I am having an palette with nodes inside different div segments implemented using jquery accordion as shown:

but when I am resizing the screen the pallete is getting resized but the elements inside the pallete are not getting resized I am not able to resize the nodes with respect to the screen size

i want the nodes inside it will be resized according to the screen size basically it needs to be responsive.

There are several possibilities. The easiest might be to set autoScale: go.Diagram.UniformToFill. But I am not sure that is what you want.

Read more at GoJS Initial Viewport -- Northwoods Software.