igraph 3d Layout With Disconnected Nodes

Hi,

I am using the function igraph_layout_kamada_kawai_3d. Typically, the generated graph works beautifully (visualizing with plotly), but it fails to include any disconnected nodes or graphs.

Is there any work around for this? I experimented with using igraph_layout_kamada_kawai_3d but was unclear on how it is intended to be used.

To clarify, I think I’m looking for any way to create a 3D layout of a graph with disconnected nodes, and am not committed to kamada_kawai_3d.

Thanks!!!