public void setDataPoint(DataTypes origintype, double[][] minMax, string[] recordVals, List <string> attributeNames, List <DataTypes>[] datatypes, Cluster cluster, NodeSettingsHandler nodehandler)
    {
        OriginType          = origintype;
        RecordValues        = recordVals;
        _attributeNames     = attributeNames;
        _columnDataTypes    = datatypes;
        DataCluster         = cluster;
        _minMaxAttributes   = minMax;
        HasLink             = false;
        _colorgradient      = 0.0d;
        _isCentroid         = false;
        LinksToAssociations = new List <GameObject>();
        LinksToGenes        = new List <GameObject>();
        _associations       = nodehandler.Persistantdata.Associations;
        _nodeHandler        = nodehandler;

        //Debug.Log("Datatypes length " + _columnDataTypes.Length);
        for (int i = 0; i < _columnDataTypes.Length; i++)
        {
            Debug.Log(_columnDataTypes[i][0].ToString());
            if (_columnDataTypes[i].Contains(DataTypes.ID))
            {
                ID = RecordValues[i];
                break;
            }
        }

        if (origintype.Equals(DataTypes.ADDED_DATA))
        {
            GetComponent <Renderer>().material.color = addedColor;
        }

        if (origintype.Equals(DataTypes.FILE_DATA))
        {
            GetComponent <Renderer>().material.shader = Shader.Find("Self-Illumin/Diffuse");
        }
    }