"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.render = void 0;
const renderGraph_1 = require("./renderGraph");
function render(system, $graph) {
    const unlisten = (0, renderGraph_1.renderGraph)(system.foreground.app, system, $graph);
    return () => {
        system.root = null;
        unlisten();
    };
}
exports.render = render;
//# sourceMappingURL=index.js.map