message: [feat] Node neighborns management for mesh graph
diff: @@ -245,6 +245,7 @@ function nodeAdded (nodeid) {
  loc: this.zwcfg_nodes[nodeid] ? this.zwcfg_nodes[nodeid].loc : '',
  values: {},
  groups: [],
  + neighborns: [],
  ready: false,
  available: false,
  hassDevices: {},
  @@ -413,6 +414,7 @@ function scanComplete () {
  // popolate groups (just for active nodes)
  for (var i = 0; i < nodes.length; i++) {
  this.getGroups(nodes[i].node_id)
  + nodes[i].neighborns = this.client.getNodeNeighbors(nodes[i].node_id)
  }
  debug('Network scan complete. Found:', nodes.length, 'nodes')
  @@ -630,6 +632,7 @@ ZwaveClient.prototype.initNode = function (ozwnode, nodeinfo) {
  // if scan is complete update node groups (for nodes added 'on fly')
  if (this.scanComplete) {
  this.getGroups(nodeid)
  + ozwnode.neighborns = this.client.getNodeNeighbors(nodeid)
  }
  }
  @@ -651,6 +654,19 @@ ZwaveClient.prototype.getGroups = function (nodeID) {
  }
  }
  +/**
  + * Refresh all nodes neighborns
  + *
  + * @param {*} nodeID
  + */
  +ZwaveClient.prototype.refreshNeighborns = function () {
  + for (let i = 0; i < this.nodes.length; i++) {
  + if (!this.nodes[i].failed) {
  + this.nodes[i].neighborns = this.client.getNodeNeighbors(i)
  + }
  + }
  +}
  +
  /**
  * Method used to start Zwave connection using configuration `port`
  */
  