query getDagVisData($projectPath: ID!, $iid: ID!) {
  project(fullPath: $projectPath) {
    pipeline(iid: $iid) {
      id
      stages {
        nodes {
          name
          groups {
            nodes {
              name
              size
              jobs {
                nodes {
                  name
                  needs {
                    nodes {
                      name
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}
