Whenever possible, I create my diagrams using code. My belief:
Don't draw, code.
This is my "code razor".