Table of Contents

Editing Data Trees

Data Trees are created in the Data Tree Editor. They are also created during RDF import. Prior to editing a Data Tree in the Data Tree Editor, all Entities and Relationships must be present. Use the Schema Editor to define these.

For more information about Data Trees look at


Creating a Data Tree

Your Data Tree may already exist. If so it will be located under the Schema node in the Projects window. If not you will need to create it. To do this:

  1. Right click on the Schema Node in the Projects window.
  2. Choose 'New Data Tree' from the popup menu.
  3. Specify the Entity that will be the root element of the Data Tree.
  4. Specify a display name for the Data Tree. Typically this will be the display name of the root Entity, but does not have to be.



Opening the Data Tree Editor

  1. Right click on the Data Tree Node in the Project Explorer.
  2. Choose 'Edit Data Tree' from the popup menu.
  3. The Data Tree Editor will open in the main window.

Adding a child vertex

  1. Select the vertex to which the child is to added.
  2. Click on the 'Add New Edge' icon in the toolbar:
  3. The Add Edge wizard will open.
  4. Define the new edge, either by specifying the Entity and then selecting from the valid Relationships for this Entity (there will probably only be one), or by selecting one of the available Relationships (these are 2 ways of achieving the same thing).
  5. Click 'Finish' and the child edge will be added.


Removing a child vertex

  1. Select the vertex to which is to be removed.
  2. Click on the 'Delete Edge' icon in the toolbar: .
  3. A confirm dialog will open.
  4. Click 'OK' and the child edge will be removed.

Note: the Relationship and child Entity are unaffected. They are not deleted, just removed from this Data Tree.


Create detail table

A common activity is to create a new detail Entity (table) for an existing master Entity. To do this you would need to do these 3 steps:

  1. Create the new Entity using the Schema editor
  2. Create the Relationship between the 2 Entities using the Schema editor
  3. Add the new edge to the Data Tree using the Data Tree editor.

Whilst all these steps are necessary, it is a bit laborious to go through these steps each time. IJC provides a simplified approach to doing this by allowing a detail table to be created in a single step. This is the 'Create detail table...' action that is available from the Data Tree node in the projects window and in the Schema and Data Tree Editors. This action will open a one step wizard that contains the commonly used options for this process:

All other settings are generated from default values or derived from the values you have specified.

Note: as default or derived values are used for several settings then this approach is not as flexible as the 3-step approach. You will need to use the 3-step approach if the settings used are not what you require.


Copyright © 1998-2008 ChemAxon Ltd. All rights reserved.