!--a11y-->
Data
File 
The data file contains the definition of the graph itself. It is also the interface between your own application and JNet, since it links information on the types of elements in the graph as well as the user interface.
The following top-level tags exist for the data file:
· <TypeRepository>
Use the TypeRepository tag to specify a type repository that you want to use for your application. The type repository contains definitions for elements that you can reuse, such as colors, layouts, nodes, lines in a format that JNet can process. You have the following options:
¡ You can specify the elements of the type repository in the data file.
¡ You can create a file called TypeRepository.xml to define the elements of the type repository, and provide a link to this file in the data file.
¡ You can use the default type repository of JNet. If you do this, you do not have to use the TypeRepository tag.
· <UserInterface>
Use the UserInterface tag to specify elements of the user interface (actions that the user can perform, or buttons in the toolbar, for example). You have the following options:
¡ You can specify the elements of the user interface in the data file.
¡ You can create a file called UserInterface.xml to define the elements of the user interface, and provide a link to this file in the data file.
¡ You can use the default user interface of JNet. If you do this, you do not have to use the UserInterface tag.
· <Application> (optional)
Use the Application tag to define the ID of the application. You can use this ID at a later stage for the names of the elements in the graph. You have the following options:
¡ You can specify the ID of the application in the data file.
¡ If your application has very special requirements, you can create a file called Application.xml, in which you specify the ID of the application as well as other application-specific data.