
        .attr("y1", (d) => d)
        .attr("x2", width)
        .attr("y2", (d) => d);

      // Define nodes
      const nodes = [
        { id: "input", x: 100, y: 200 },
        { id: "process1", x: 300, y: 150 },
        { id: "process2", x: 300, y: 250 },
        { id: "output", x: 500, y: 200 },
      ];

      // Define connections
      const links = [
        { source: "input", target: "process1" },
        { source: "input", target: "process2" },
        { source: "process1", target: "output" },