summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/pipelines/graphql/queries/get_dag_vis_data.query.graphql
blob: 887c217da4151f556ec8c917efdc80da996a7ba8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}