aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn-peugnet <n.peugnet@free.fr>2020-03-22 17:49:30 +0100
committern-peugnet <n.peugnet@free.fr>2020-03-22 17:49:30 +0100
commit3962156bc8187d3752bbbdbaa06f7a23db38d354 (patch)
treee886aecd671da807d8583c78d61afa21f39c6f4a
parent87f75ea2869629fedf893942b767765eff40c597 (diff)
downloadwcms-3962156bc8187d3752bbbdbaa06f7a23db38d354.tar.gz
wcms-3962156bc8187d3752bbbdbaa06f7a23db38d354.zip
first style tests
-rw-r--r--app/class/Modelhome.php19
1 files changed, 14 insertions, 5 deletions
diff --git a/app/class/Modelhome.php b/app/class/Modelhome.php
index 2aedae3..f4b4a56 100644
--- a/app/class/Modelhome.php
+++ b/app/class/Modelhome.php
@@ -158,11 +158,20 @@ class Modelhome extends Modelpage
$datas['layout']['name'] = 'random';
$datas['style'] = [
- 'selector' => 'node',
- 'style' => [
- 'label' => 'data(id)'
- ]
- ];
+ [
+ 'selector' => 'node',
+ 'style' => [
+ 'label' => 'data(id)',
+ ],
+ ],
+ [
+ 'selector' => 'edge',
+ 'style' => [
+ 'curve-style' => 'bezier',
+ 'target-arrow-shape' => 'triangle',
+ ],
+ ],
+ ];
return $datas;
}