/event_tree_editor

Web-based visual event tree modeling editor (Extended Event Tree Editor)

Primary LanguageJavaScriptBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Extended Event Tree Editor


Extended Event Tree Editor (EETE) is a web-based tool for building Extended Event Tree Diagrams (EETD).

EETE is based on PHP 7 and Yii 2 Framework.

Editor uses jsPlumb Toolkit, version 2.12.9 for EETD visualization.

Latest Stable Version Total Downloads Build Status

DIRECTORY STRUCTURE

  assets/             contains assets definition
  commands/           contains console commands (controllers) for creation lang, user and EETDs by default
  config/             contains application configurations
  modules/            contains two modules:
      editor/         contains main controllers, models and views for EETE
      main/           contains views for representation main index, contact and error views:
  web/                contains the entry script and Web resources

REQUIREMENTS

The minimum requirement by this project template that your Web server supports PHP 7.0, jsPlumb 2.12, PostgreSQL 9.0.

INSTALLATION

Install via Composer

If you do not have Composer, you may install it by following the instructions at getcomposer.org.

You can then install this editor using the following command:

composer create-project nikita-dorodnykh/eeteditor

CONFIGURATION

Database

Edit the file config/db.php with real data, for example:

return [
    'class' => 'yii\db\Connection',
    'dsn' => 'pgsql:host=localhost;port=5432;dbname=eeteditor;',
    'username' => 'postgres',
    'password' => 'admin',
    'charset' => 'utf8',
    'tablePrefix' => 'eeteditor_',
    'schemaMap' => [
        'pgsql'=> [
            'class'=>'yii\db\pgsql\Schema',
            'defaultSchema' => 'public'
        ]
    ],
];

NOTES:

  • EETE won't create the database for you, this has to be done manually before you can access it.
  • Check and edit the other files in the config/ directory to customize your application as required.