Move large graph into graph-panel component and show real data
This commit is contained in:
parent
cd77e14178
commit
732526322f
7 changed files with 188 additions and 192 deletions
|
@ -7,7 +7,8 @@ export class OrgGraphsService {
|
|||
|
||||
constructor(private api: ApiService) { }
|
||||
|
||||
public getGraph(name: string) {
|
||||
return this.api.post(this.orgGraphUrl, { graph: name });
|
||||
public getGraph(name: string, data: any = {}) {
|
||||
data.graph = name;
|
||||
return this.api.post(this.orgGraphUrl, data);
|
||||
}
|
||||
}
|
||||
|
|
Reference in a new issue