Cartoon edge with nodes?

Does anyone know where I can find how to get a nice cartoon edge that is uniform in width using nodes?

I also want to keep the color of the objects.

I’m not satisfied with blender’s cartoon edge thing. It misses out on some places that I want edges on.