The ForceGraph instance internally maintains a shadowCanvas for hidden color mapping.
Currently, it’s not possible to access this canvas or its context from outside the library.
Exposing it would allow developers to read pixel data for advanced interaction features.
likeconst shadowCanvas = fg.getShadowCanvas(); const shadowCtx = shadowCanvas.getContext('2d');
The ForceGraph instance internally maintains a shadowCanvas for hidden color mapping.
Currently, it’s not possible to access this canvas or its context from outside the library.
Exposing it would allow developers to read pixel data for advanced interaction features.
like
const shadowCanvas = fg.getShadowCanvas(); const shadowCtx = shadowCanvas.getContext('2d');