PlantUML lets you create diagrams as plain text code - this PlantUML layout tutorial explains how to customize the layout and create custom styles.