code: function (node) {
              if (node.type === graph.node.NodeTypes.VALUE) {
                  return provider.node.getColor(node.parent);
              } else {
                  var parentLabel = "";
                  if (node.hasOwnProperty("parent")) {
                      parentLabel = node.parent.label
                  }
  
                  var incomingRelation = node.parentRel || "";
  
                  var colorId = parentLabel + incomingRelation + node.label;
                  return provider.colorScale(colorId);
              }
          }
docs: Return a color for the node.
  
  @param node
  @returns {*}