Is there a way to automatically ensure that all nodes are visible and contained within the node-edge component box, even if it requires zooming out? It appears that increasing the component area does not prevent the graph from being automatically zoomed in, causing some nodes to become invisible again.
I can only think of setting the "node positions" as custom. However, I don't think this approach guarantees the correct display for all network designs.
Refer to the picture below.
There is currently no way to make sure that all nodes & edges are visible in the viewport of the node edge component. The component bases the viewport size on the size of the component itself, not on the data. You can indeed position the nodes yourself, but this would have to be done for all nodes separately. You can work around this by enabling the 'Zooming' option in the layout settings of the component. This allows the user to pan & zoom in the component.