How can I render edges like this?

I found this image on deviant art, looking for Blender renders.

http://null-x-void.deviantart.com/art/Blue-Space-375673839

This is not a wireframe render, I think. How can I render edges like that so they are in different colors?

Freestyle http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Freestyle

You can mark edges as Freestyle edges, set them to any colour you like and render them. You can set the colour to change depending on distance from the camera and many other ways

The image in question was rendered with Cycles however, so no Freestyle there. You may also want to look at Wire material for Blender Render (though it’s less flexible than Freestyle), but if you’re going for Cycles, this wireframe technique may help you.

Thanks, everyone.