function createDataforColorChange() {
      const nodes = new DataSet([
        { id: 1, label: "Node 1" }, // group:'Group1'},
        { id: 2, label: "Node 2", group: "Group2" },
        { id: 3, label: "Node 3" },
      ]);

      // create an array with edges
      const edges = new DataSet([
        { id: 1, from: 1, to: 2 },
        { id: 2, from: 1, to: 3, color: { inherit: "to" } },
        { id: 3, from: 3, to: 3, color: { color: "#00FF00" } },
        { id: 4, from: 2, to: 3, color: { inherit: "from" } },
      ]);

      const data = {
        nodes: nodes,
        edges: edges,
      };

      return data;
    }
NOTE: choosify tests of Node and Edge are parallel
TODO: consolidate this is necessary