It's a text file, but you're better off using the built-in editor. In Diamond, click on 'spreadsheet view' and then select the tab for the type of constraint you want. You can also use 'package view'. They don't call it a constraints editor, but that's what it is.