Hi Oscar,
There are many different ways to go about calculating a connectome that are too numerous for me to list here.
However, C-PAC does actually automatically calculate the "ndmg" connectome graph outputs originally introduced by the Neurodata group at John Hopkins - these are generated when time-series extraction is enabled, and appear in the output directory as *_desc-ndmg_correlations.csv
More information on this particular connectome calculation:
If you want to replicate their preprocessing as well, you can simply run C-PAC using the "ndmg" preconfig.
Best,
Steve