diff options
author | n-peugnet <n.peugnet@free.fr> | 2020-03-22 17:49:30 +0100 |
---|---|---|
committer | n-peugnet <n.peugnet@free.fr> | 2020-03-22 17:49:30 +0100 |
commit | 3962156bc8187d3752bbbdbaa06f7a23db38d354 (patch) | |
tree | e886aecd671da807d8583c78d61afa21f39c6f4a /app/class | |
parent | 87f75ea2869629fedf893942b767765eff40c597 (diff) | |
download | wcms-3962156bc8187d3752bbbdbaa06f7a23db38d354.tar.gz wcms-3962156bc8187d3752bbbdbaa06f7a23db38d354.zip |
first style tests
Diffstat (limited to 'app/class')
-rw-r--r-- | app/class/Modelhome.php | 19 |
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; } |