It is used for internal purposes.
my.general.dfs(
nei,
v,
f,
extra,
in.call,
mid.call.before,
mid.call.after,
out.call
)the extra parameter modified with in.call, mid.call.before, mid.call.after, and out.call functions
Neighbor list for each vertex
Starting node
Parent node
the shared object for the whole DFS
First function to call
Function to call before calling child DFS
Function to call after calling child DFS
Last function to call