MATLAB: Create undirected or direct 3d graph

graphtriangulation

Hi,
is there any 3D version of
G = graph(s,t);
thank you,
Ina