import * as vscode from 'vscode' ; import { RenderTask , } from '../renders/interfaces' ; import { Diagram } from '../diagram/diagram' ; import { exportDiagram } from './exportDiagram' ; import { appliedRender } from './appliedRender' ; param diagram param format param bar returns export function exportToBuffer ( diagram , format , bar ? ) { return exportDiagram ( diagram , format , "" , bar ) ; } param diagram param format param bar returns export function getMapData ( diagram ) { return appliedRender ( diagram . parentUri ) . getMapData ( diagram , "" ) ; }