// Use this for initialization
    void Start()
    {
        _connectomeLabels = Resources.Load("Prefabs/ConnectomeLabel") as GameObject;
        _HUD = Resources.Load("Prefabs/HUD") as GameObject;

        _representationType  = representationTypes.Anatomy;
        _classificationType  = classificationTypes.Anatomy;
        classificationName   = "anatomy";
        connectomeRegionName = "leftCerebellum";

        classificationColumn.Add("anatomy", 1);
        classificationColumn.Add("embeddness", 2);
        classificationColumn.Add("richclub", 3);
    }
    //detecting the change of representation enum
    public bool DetectRepresentationEnum()
    {
        changeRepresentationEnum = false;

        if (_representationType != _prevRepresentationType)
        {
            if (labelText != null)
            {
                Destroy(labelText);
            }
            if (HUDpanel != null)
            {
                Destroy(HUDpanel);
            }

            foreach (GameObject node in Nodes)
            {
                if (node != null)
                {
                    Destroy(node);
                }
            }
            foreach (GameObject edge in Edges)
            {
                if (edge != null)
                {
                    Destroy(edge);
                }
            }

            switch (_representationType)
            {
            case representationTypes.Anatomy:

                fileName = "anatomy";
                _prevRepresentationType = representationTypes.Anatomy;
                break;

            case representationTypes.Isomap:

                fileName = "isomap";
                _prevRepresentationType = representationTypes.Isomap;
                break;

            case representationTypes.Tsne:

                fileName = "tsne";
                _prevRepresentationType = representationTypes.Tsne;
                break;

            case representationTypes.MDS:

                fileName = "mds";
                _prevRepresentationType = representationTypes.MDS;
                break;

            case representationTypes.None:

                fileName = string.Empty;
                _prevRepresentationType = representationTypes.None;
                break;
            }

            changeRepresentationEnum = true;
        }
        return(changeRepresentationEnum);
    }