"use strict";
var __assign = (this && this.__assign) || function () {
    __assign = Object.assign || function(t) {
        for (var s, i = 1, n = arguments.length; i < n; i++) {
            s = arguments[i];
            for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
                t[p] = s[p];
        }
        return t;
    };
    return __assign.apply(this, arguments);
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("react");
var react_dom_1 = require("react-dom");
var ProvVis_1 = require("./ProvVis");
function ProvVisCreator(node, graph, fauxRoot, config) {
    if (fauxRoot === void 0) { fauxRoot = graph.root; }
    if (config === void 0) { config = {}; }
    react_dom_1.default.render(react_1.default.createElement(ProvVis_1.default, __assign({}, config, { graph: graph, root: fauxRoot, current: graph.current, nodeMap: graph.nodes })), node);
}
exports.ProvVisCreator = ProvVisCreator;
//# sourceMappingURL=ProvVisCreator.js.map