"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const Functional_1 = require("../../../../Class/Functional");
const _ids_1 = require("../../../_ids");
class _GraphSpec extends Functional_1.Functional {
    constructor(system) {
        super({
            i: ['graph', 'any'],
            o: ['spec'],
        }, {
            input: {
                graph: {
                    ref: true,
                },
            },
        }, system, _ids_1.ID_GRAPH_SPEC);
    }
    f({ graph }, done) {
        const spec = graph.getSpec();
        done({
            spec,
        });
    }
}
exports.default = _GraphSpec;
//# sourceMappingURL=index.js.map