Computer program for fabric diagrams