"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.createDefaultGraph = void 0;
var graphology_1 = __importDefault(require("graphology"));
var graphDataTypes_1 = require("../../types/graphDataTypes");
var createDefaultGraph = function () {
    var graph = new graphology_1.default();
    graph.addNode('hcp', {
        nodeType: graphDataTypes_1.DataModelGraphNodeType.entityType,
        label: 'HCP',
        secondaryLabel: '12 attributes',
        image: 'HCP.svg',
        x: 100,
        y: 100
    });
    graph.addNode('hca', {
        nodeType: graphDataTypes_1.DataModelGraphNodeType.entityType,
        label: 'HCA',
        secondaryLabel: '10 attributes',
        image: 'HCA.svg',
        x: 200,
        y: 100
    });
    graph.addNode('gpo', {
        nodeType: graphDataTypes_1.DataModelGraphNodeType.entityType,
        label: 'GPO',
        secondaryLabel: '1 attribute',
        x: 300,
        y: 100
    });
    graph.addNode('prescriptions', {
        nodeType: graphDataTypes_1.DataModelGraphNodeType.interactionType,
        label: 'Prescriptions',
        secondaryLabel: '2 attributes',
        x: 100,
        y: 200
    });
    graph.addEdgeWithKey('hcp->hca', 'hcp', 'hca', {
        label: '1',
        relationTypes: [{ uri: 'relType1' }]
    });
    graph.addEdgeWithKey('hca->gpo', 'hca', 'gpo', {
        label: '2',
        relationTypes: [{ uri: 'relType2' }]
    });
    graph.addEdgeWithKey('hcp->prescriptions', 'hcp', 'prescriptions', {
        type: 'dashed'
    });
    return graph;
};
exports.createDefaultGraph = createDefaultGraph;
