# Plotting a graph on a torus and another surfaces [duplicate]

I'm trying to figure out how to plot a graph on a surface. My goal is to represent a planar embedding of $K_5$ in a torus. I have encountered this post, where you can find an explanation how to plot a contour on a torus. However, I'm not very keen on representing a graph as a function.
• Thanks for the hint - I'm wondering if there's any way to do that using functions like GraphPlot3d[] instead of just plotting curves – Jytug Jan 28 '16 at 15:56