Hi!
You can use
transpose_connectivity(const vector<T> & a_cnt, const vector<T> & a_con,
vector<T> & b_cnt, vector<T> & b_con)
where a_cnt, would be generated from mesh.dsp with cnt_from_dsp(), a_con would be mesh.con. (b_cnt, b_con) is the graph from nodes to elements. This means, row i contains all elements connected to node i.
Best, Aurel