Internal helper to mutate an existing GraphSession pointer with updated nodes and edges.
.sync_session_inplace(session, node_names, edges_dt, simple, class)A list with session and resolved class.
A GraphSession external pointer.
Character vector of node names.
A data.table with columns from, edge, to.
Logical; whether the graph is simple.
Character; target graph class.