{
   "main":[
      {
         "element":"NA",
         "intro": "The aim of this application is to create simple relational data models and to save them in json files."
      },
      {
         "element": "#about",
         "intro": "Read more about the ReDaMoR package and the value of relational data models to document and to check data in R."
      },
      {
         "element": "#doc",
         "intro": "This help is contextual: click on it to get information about the interface."
      },
      {
         "element": "#addTable",
         "intro": "Create a data table using this button."
      },
      {
         "element": "#modelNet",
         "intro": "Interact with your model in this frame. You can export the image in a png file by right clicking on it and choosing \"Save image as...\"."
      },
      {
         "element": "#done",
         "intro": "When you've finished your model, click on this button and the application will return the model as a RelDataModel object."
      },
      {
         "element": "#export",
         "intro": "Export your model as a json file or in a html interactive graph. You can also save a png by right-clicking directly on the data model view."
      },
      {
         "element": "#import",
         "intro": "Read a json file with a Relational Data Model (saved using the Export button for example). You can also import simple sql files generated by <a href=\"https://www.mysql.com/products/workbench/\" target=\"_blank\">MySQL Workbench</a>. <strong>A model example is also available.</strong>"
      },
      {
         "element": "#findTableDiv",
         "intro": "Search and select tables."
      },
      {
         "element": "#selectAll",
         "intro": "Select all tables in your model."
      },
      {
         "element": "#autoLayout",
         "intro": "Redraw the model with an automatic layout."
      },
      {
         "element": "#fitNet",
         "intro": "Fit the model in the frame."
      }
   ],


   "tables":[
      {
         "element": "#setTableColor",
         "intro": "Select the color of the table."
      },
      {
         "element": "#dupTablesInput",
         "intro": "Duplicate selected tables."
      },
      {
         "element": "#rmTablesInput",
         "intro": "Remove selected tables."
      }
   ],


   "twoTables":[
      {
         "element": "#addFKInput",
         "intro": "Add a foreign key between the two tables."
      }
   ],


   "oneTable":[
      {
         "element": "#addFKInput",
         "intro": "Add a self referencing foreign key."
      },
      {
         "element": "#editTable",
         "intro": "Edit table information"
      },
      {
         "element": "#renameTable",
         "intro": "Change the name of the table. The model will be adapted automatically."
      },
      {
         "element": "#tableCommentUI",
         "intro": "Add or change a description of the table. Click on the check button on the right to validate your change."
      },
      {
         "element": "#fields",
         "intro": "Edit table fields."
      },
      {
         "element": "#addField",
         "intro": "Add a new field."
      },
      {
         "element": "#selectAllFields",
         "intro": "Select all fields"
      }
   ],


   "withFields":[
      {
         "element": "#fieldTable",
         "intro": "Select a row to edit a field."
      },
      {
         "element": "#primaryKey",
         "intro": "Choose the primary key. Click on the check button on the right to validate your change."
      },
      {
         "element": "#indexes",
         "intro": "Define indexes."
      },
      {
         "element": "#addIndex",
         "intro": "Add a new index."
      }
   ],


   "withIndexes":[
      {
         "element": "#indexTable",
         "intro": "Select a row to edit the index."
      }
   ],


   "selectedField":[
      {
         "element": "#removeField",
         "intro": "Remove field."
      },
      {
         "element": "#updateField",
         "intro": "Update field definition"
      },
      {
         "element": "#moveFieldUp",
         "intro": "Move fields up"
      },
      {
         "element": "#moveFieldDown",
         "intro": "Move fields down"
      },
      {
         "element": "#copyFields",
         "intro": "Copy fields (Ctrl+c)"
      }
   ],


   "selectedIndex":[
      {
         "element": "#updateIndex",
         "intro": "Update index definition."
      },
      {
         "element": "#removeIndex",
         "intro": "Remove index."
      }
   ],


   "withFK":[
      {
         "element": "#rmFKInput",
         "intro": "Remove selected foreign keys."
      }
   ],


   "oneFK":[
      {
         "element": "#editFKInput",
         "intro": "Edit the cardinalities of the selected foreign key"
      }
   ],


   "Import":[
      {
         "element": "#impModelCol",
         "intro": "Read a relational data model from a json file or from a simple SQL file generated by <a href=\"https://www.mysql.com/products/workbench/\" target=\"_blank\">MySQL Workbench</a>. "
      },
      {
         "element": "#exampleModel",
         "intro": "Load a relational data model example."
      }
   ],
   "Import (not used)":[
      {
         "element": "#infModelCol",
         "intro": "Infer table models from data files. Several files can be read at once. Only comma separated values (.csv) and tab separated values (.txt or .tsv) are supported. Works only with files smaller than 5 MB"
      }
   ]

}
