Our new and improved Data Center now provides the ability for in-place metamodeling. Rather than having to define your metamodel before being able to import your data you can now define node classes and their attributes while creating an Import Step! Please follow the steps below to try it for yourself:
- Select the Datacenter icon from the toolbar in Soley Studio
- Choose the appropriate data connection for your file type. In this case, we will choose Excel then select our desired file.
- Name your data source so you can identify it easily later and then click OK.
- Soley will prompt you to map the data to the metamodel. Click Continue.
- From the Import Step window, choose the worksheet that you would like to import from, and then select the drop-down menu from Node class to choose Define a new node class. In this case, we will create a node class for our Products. Finally, click on the confirm (green check mark) button to verify the node class name.
- Next, we need to map the attribute values to our node class Product. We can do this by clicking the drop-down for Map Attribute and then Define New Attribute. Type in the name of the attribute you would like to map and then the corresponding data type such as int, string, etc. Finally, click on the confirm button to verify your selection.
- Repeat this process with the rest of the attribute values you would like to map.
- Once you have assigned all of the appropriate attributes, select the specific columns and rows to import. You can also select the check box for Always read till the last row to include all of the rows from your selection.
- Go ahead and click the Ok button and you will be prompted to import the data into a new data graph.
- Follow the prompts and once completed, you should have your imported data in a visual graph!
You can find the metamodel definition in the Nodes.gm file, in case you need to add any additional classes or attributes. Please note that it is not possible to define a class hierarchy when using the in-place metamodeling. However, you can edit the metmodel definition in the Nodes.gm file to create a class hierarchy.