src/app/data/issue-graph/issue-graph-state.service.ts
Properties |
Methods |
constructor(apiService: IssueGraphApiService, ss: StateService)
|
|||||||||
Parameters :
|
addConsumedInterface |
addConsumedInterface(componentId: string, interfaceId: string)
|
Make the interface with interfaceId a consumed interface of the component with id componentId
Returns :
Observable<any>
|
graphDataForFilter | ||||||||||||||||
graphDataForFilter(filter$: BehaviorSubject<FilterState>, reload$: BehaviorSubject
|
||||||||||||||||
Maps an observable of the state of the graph filters (toggles and queries in search bar) onto an observable emitting graph state for these filters retrieved from the backend. the filter$ or reload$ observables emit a value.
Parameters :
Returns :
Observable<GraphData>
observable emitting sequence of graph states containing e.g. components and interfaces. It will emit new values when the filter$ or reload$ observables emit a value. |
removeConsumedInterface |
removeConsumedInterface(componentId: string, interfaceId: string)
|
Remove the interface with interfaceId from consumed interfaces of the component with id componentId
Returns :
Observable<any>
|
state$ |
Type : Observable<GraphData>
|