In[]:=
Quit[]
In[]:=
Context[]
Out[]=
Global`
In[]:=
f1[x_]:=x^2+g[x];f2[x_]:=2x^2+h[x];f3[x_,y_:0]:=x+k[y];
In[]:=
g[x_]:=2x;h[x_]:=3x;j[x_]:=5x;i[x_]:=7x;k[x_]:=g[x]+j[x];
In[]:=
main[x_]:=Module[{v1,v2},v1=f1[x];v2=f3[x,1];v1+v2];
In[]:=
depgraph=ResourceFunction["SymbolDependencyGraph"][main,VertexLabels->"Name"]
Out[]=
In[]:=
VertexList[depgraph]
Out[]=
{main,f1,f3,g,k,j}