diff options
author | Vincent Peugnet <33429034+vincent-peugnet@users.noreply.github.com> | 2020-03-25 19:55:25 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-25 19:55:25 +0100 |
commit | a17b7fc6aa87341c51e68baf3f217f709eb817d7 (patch) | |
tree | ba6958ba93e76d2464ad9ae068b9bd56400d5294 /app/class/Model.php | |
parent | fa92ec6b40676677595047b71b3c2fafb1bf89ea (diff) | |
parent | d17713051ca2fef29de8025fe876d417838cea7f (diff) | |
download | wcms-a17b7fc6aa87341c51e68baf3f217f709eb817d7.tar.gz wcms-a17b7fc6aa87341c51e68baf3f217f709eb817d7.zip |
Merge pull request #72 from n-peugnet/implement-cytoscape.js
Implement cytoscape.js
Diffstat (limited to 'app/class/Model.php')
-rw-r--r-- | app/class/Model.php | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/class/Model.php b/app/class/Model.php index 5847f74..9e66af4 100644 --- a/app/class/Model.php +++ b/app/class/Model.php @@ -20,6 +20,17 @@ abstract class Model const GLOBAL_DIR = 'assets'. DIRECTORY_SEPARATOR . 'global' . DIRECTORY_SEPARATOR; const DATABASE_DIR = '.' . DIRECTORY_SEPARATOR . 'database' . DIRECTORY_SEPARATOR; const PAGES_DIR = self::DATABASE_DIR . 'pages' . DIRECTORY_SEPARATOR; + + const MAP_LAYOUTS = [ + 'cose' => 'cose', + 'cose-bilkent' => 'cose-bilkent', + 'circle' => 'circle', + 'breadthfirst' => 'breadthfirst', + 'concentric' => 'concentric', + 'grid' => 'grid', + 'random' => 'random', + ]; + const MEDIA_EXT = [ 'jpg' => 'image', |