v0.0.3 you can use any of the igraph layout algorithms, simply use
sg_layout and pass the actual igraph layout to the function.
You can also use the forceAtlas2 algorithm to layout your graphs,
sg_force_start. The algorithm is relatively computationally expensive so it is good to stop it at some point
sigmajs() %>% sg_force_start() %>% # start sg_nodes(nodes, id, size, color) %>% sg_edges(edges, id, source, target) %>% sg_force_stop(5000) # stop after 5 seconds
There is also
sg_get_layout if you only want to retrieve the
y coordinates of your graph.