A method and product are described for creating a model of a physical layout and/or a circuit layout of an electrical device. The layouts are defined in a user interface. A text file having metadata elements in a hierarchical format is produced that can be used by other programs.