You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using the NodeImageProgram to render some nodes that should be images, these images can have different heights and widths however I do not see an option to give custom sizes to the images createNodeImageProgram({ drawingMode: "background", keepWithinCircle: false, size: {mode: 'auto'} })
The keepWithinCircle:false option helps me get closer to what I want to achieve but the images always come out square.
any way to achieve this?
The text was updated successfully, but these errors were encountered:
I don't understand what you want exactly. Could you provide some drawing of some sort?
Just to be sure: For now at least, @sigma/node-image renders all nodes within a disc which is "craved" within a square. When keepWithinCircle is false, the square is displayed instead of the disc. Is that the issue? Are you looking for "non-square nodes"?
Look how the first image is rendered with an adequate width so that the entire image can be seen, but in the second it is cropped, the entire image cannot be seen.
I am using the NodeImageProgram to render some nodes that should be images, these images can have different heights and widths however I do not see an option to give custom sizes to the images
createNodeImageProgram({ drawingMode: "background", keepWithinCircle: false, size: {mode: 'auto'} })
The keepWithinCircle:false option helps me get closer to what I want to achieve but the images always come out square.
any way to achieve this?
The text was updated successfully, but these errors were encountered: