datahub/datahub-web-react/src/graphql/mlModelGroup.graphql
Gabe Lyons c92990d32b
feat(ml): bringing ml screens up to date w/ the modern ui layout & improving ml lineage (#4651)
* backend ml changes

* updating ml model UI

* more work on the UI

* ml primary key joining the party

* more progress on UI

* making progress on lineage

* finalizing UI experience

* remove irrelevant test

* fixing lint

* fixups

* add tests and fix what the issues they discovered

* internal > core
2022-04-12 22:42:12 -07:00

32 lines
987 B
GraphQL

query getMLModelGroup($urn: String!) {
mlModelGroup(urn: $urn) {
...nonRecursiveMLModelGroupFields
incoming: relationships(
input: {
types: ["DownstreamOf", "Consumes", "Produces", "TrainedBy", "MemberOf"]
direction: INCOMING
start: 0
count: 100
}
) {
...fullRelationshipResults
}
outgoing: relationships(
input: {
types: ["DownstreamOf", "Consumes", "Produces", "TrainedBy", "MemberOf"]
direction: OUTGOING
start: 0
count: 100
}
) {
...fullRelationshipResults
}
upstream: lineage(input: { direction: UPSTREAM, start: 0, count: 100 }) {
...fullLineageResults
}
downstream: lineage(input: { direction: DOWNSTREAM, start: 0, count: 100 }) {
...fullLineageResults
}
}
}