|
|
@ -60,7 +60,7 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen { |
|
|
|
await this.call('fileManager', 'writeFile', fileName, payload) |
|
|
|
await this.call('fileManager', 'writeFile', fileName, payload) |
|
|
|
this.updatedSvg = payload //test
|
|
|
|
this.updatedSvg = payload //test
|
|
|
|
console.log({ payload }) |
|
|
|
console.log({ payload }) |
|
|
|
this.updateComponent({ ...this, updateSvg: payload }) |
|
|
|
this.renderComponent() |
|
|
|
// await this.showUmlDiagram(fileName, payload)
|
|
|
|
// await this.showUmlDiagram(fileName, payload)
|
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
@ -95,7 +95,7 @@ export class SolidityUmlGen extends ViewPlugin implements ISolidityUmlGen { |
|
|
|
this.currentFile = path |
|
|
|
this.currentFile = path |
|
|
|
this.updatedSvg = svgPayload |
|
|
|
this.updatedSvg = svgPayload |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
this.renderComponent() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
setDispatch (dispatch: React.Dispatch<any>) { |
|
|
|
setDispatch (dispatch: React.Dispatch<any>) { |
|
|
|