Skip to content

Commit 838cd40

Browse files
Googlercopybara-github
authored andcommitted
Adds selected column component to the graph view
UI: https://screenshot.googleplex.com/4XxCChou2WW5b7p PiperOrigin-RevId: 846195747
1 parent 56c1e02 commit 838cd40

3 files changed

Lines changed: 35 additions & 0 deletions

File tree

src/app/scaffold.ng.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<ng-content select="ai-dag-toolbar"></ng-content>
2+
<ng-content select="ai-dag-shelf"></ng-content>
23
<article aria-label="Graph area" i18n-aria-label="Aria label for graph area of Workflow Graph" class="flex">
34
<ng-content select="ai-dag-renderer"></ng-content>
45
</article>

src/app/shelf.ng.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<ng-content></ng-content>

src/app/shelf.ts

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
/**
2+
* @license
3+
* Copyright 2022 Google LLC
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
18+
import {ChangeDetectionStrategy, Component} from '@angular/core';
19+
20+
/**
21+
* Shelf component for DAG graph.
22+
*/
23+
@Component({
24+
selector: 'ai-dag-shelf',
25+
templateUrl: './shelf.ng.html',
26+
changeDetection: ChangeDetectionStrategy.OnPush,
27+
standalone: true,
28+
host: {
29+
'class': 'ai-dag-shelf',
30+
},
31+
})
32+
export class AiDagShelf {
33+
}

0 commit comments

Comments
 (0)