Permalink
Browse files

Update map.inc.php

  • Loading branch information...
directman66 committed Jan 18, 2019
1 parent 59650d2 commit 3935dc3d773791182eaa12253a01958d3196942a
Showing with 1 addition and 1 deletion.
  1. +1 −1 modules/zigbee2mqtt/map.inc.php
@@ -16,7 +16,7 @@
// $nodes .= "{id: ".$idd.", font:{size:10}, size:40, label: '".$maparray[$i]['description']."', group: 0, shape: 'circularImage', image: '/templates/zigbee2mqtt/img/".$maparray[$i]['model'].".jpg', shapeProperties:{borderDashes:[5,5]},},";
$nodes.= "{id: ".$idd.", font:{size:10}, size:40, label: '".$maparray[$i]['description']."', group: 0, shape: 'circularImage', image: '/templates/zigbee2mqtt/img/".$maparray[$i]['model'].".jpg', },";
// if ($idd!=$defaultiee) $edges.= "{from: $defaultiee, to: ".$idd."},";
if ($idd!=$defaultiee) $edges.= "{from: $parrentieee, to: ".$idd."},";
if ($idd!=$defaultiee) $edges.= "{from: $parrentieee, to: ".$idd.', label: "'.$maparray[$i]['LQI'].'"},';
}
// $edges.= '{"id": "7","from": "7","to": "0},{"id": "9","from": "9","to": "0" },{"id": "4","from": "2","to": "0"},{"id": "5","from": "3","to": "0" },';

0 comments on commit 3935dc3

Please sign in to comment.