LDI and Excel Issues

  1. What is LDI?

    LDI is a module that allows users to specify their own atoms and dependencies. LDI is typically used for:

    • Analyzing your own system, for which Lattix does not provide a parser.
    • Establishing dependencies between modules that are of different types. For instance, if there are dependencies between your Java code and the Database, then LDI can be used to specify those dependencies.
  2. What does Excel have to do with Lattix?
  3. Historically, Excel was used for creating and analyzing DSMs. Lattix supports the original MIT Excel format. However, Lattix also supports a columnar format for specifying data. The Columnar format is particularly useful for collecting data.

  4. What is the difference between Importing an LDI or Excel file or Loading an LDI or Excel file through the New Project Dialog?

    A subtle difference arises because Lattix provides full round trip support for two different ways of using Lattix. The two ways of loading information from LDI/Excel are based on your style of usage.

    • Usage Mode: Excel is the master source where information is maintained through the New Project Dialog (File→New Project). You cannot edit or remove dependencies in Lattix. You must change the spreadsheet and Update (Project→Project Update) your Lattix project. You can, however, always hide subsystems or dependencies to remove them from the Lattix model.
    • Usage Mode: Lattix is the master source where information is maintained (Excel is used for loading the data initially) through Import (File→Import). Once you load in the Excel spreadsheet, you can add/remove/modify the atoms or dependencies. However, you cannot "Update" an imported project with a different (or newer version of) the spreadsheet.
  5. Note that there is a script (Export to LDI/Excel) that allows you to export any model to Excel. This means that even if you imported and modified your model in Lattix, you can always export it back to Excel. Therefore, you can always switch between the two usage modes.

  6. How do I create a project for LDI or Excel?
  7. LDI projects are created by loading in ".ldi.xml" files. Excel projects are created by loading in ".xls" or ".xlsx" files.

  8. How can I attach an external file to LDI or Excel elements so that the file can be opened directly from a selection in Lattix?
  9. You can specify a property called "sourcefile" to an Atom and a property called "linenumber" to an Atom or a Dependency. You specify the editor of your choice through View→Preferences→External Viewer Configuration. You can then View Source for an Atom or a Dependency directly from Lattix.