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