"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.DataModelCircleLayout = exports.LAYOUT_ANIMATION_DURATION = void 0;
var useCircleLayout_1 = require("../../../hooks/useCircleLayout");
var useDataModelGraphAppearance_1 = require("../../hooks/useDataModelGraphAppearance");
exports.LAYOUT_ANIMATION_DURATION = 3000;
var DataModelCircleLayout = function (_a) {
    var graph = _a.graph, selectedNode = _a.selectedNode, onNodeClick = _a.onNodeClick, selectedEdges = _a.selectedEdges, onEdgeLabelClick = _a.onEdgeLabelClick, hideInteractionTypes = _a.hideInteractionTypes;
    (0, useCircleLayout_1.useCircleLayout)({ graph: graph, animationDuration: exports.LAYOUT_ANIMATION_DURATION });
    (0, useDataModelGraphAppearance_1.useDataModelGraphAppearance)({
        graph: graph,
        selectedNode: selectedNode,
        selectedEdges: selectedEdges,
        onNodeClick: onNodeClick,
        onEdgeLabelClick: onEdgeLabelClick,
        hideInteractionTypes: hideInteractionTypes
    });
    return null;
};
exports.DataModelCircleLayout = DataModelCircleLayout;
