Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'edge:composition', SEdge, CompositionEdgeView);
configureModelElement(context, 'edge', SEdge, ArrowEdgeView);
configureViewerOptions(context, {
needsClientLayout: true,
needsServerLayout,
baseDiv: containerId
});
});
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'edge:composition', SEdge, CompositionEdgeView);
configureModelElement(context, 'edge', SEdge, ArrowEdgeView);
configureViewerOptions(context, {
needsClientLayout: true,
needsServerLayout,
baseDiv: containerId
});
});
const classDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
rebind(TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'edge:composition', SEdge, CompositionEdgeView);
configureModelElement(context, 'edge', SEdge, ArrowEdgeView);
configureViewerOptions(context, {
const classDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
rebind(TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
const classDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
rebind(TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'edge:composition', SEdge, CompositionEdgeView);
configureModelElement(context, 'edge', SEdge, ArrowEdgeView);
configureViewerOptions(context, {
needsClientLayout: true,
needsServerLayout,
baseDiv: containerId
});
});
const classDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
rebind(TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'edge:composition', SEdge, CompositionEdgeView);
const classDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
rebind(TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'edge:composition', SEdge, CompositionEdgeView);
configureModelElement(context, 'edge', SEdge, ArrowEdgeView);
const classDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
rebind(TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
const classDiagramModule = new ContainerModule((bind, unbind, isBound, rebind) => {
rebind(TYPES.ILogger).to(ConsoleLogger).inSingletonScope();
rebind(TYPES.LogLevel).toConstantValue(LogLevel.warn);
const context = { bind, unbind, isBound, rebind };
configureModelElement(context, 'graph', EcoreGraph, SGraphView);
configureModelElement(context, 'node:class', ClassNode, ClassNodeView);
configureModelElement(context, 'node:enum', ClassNode, ClassNodeView);
configureModelElement(context, 'node:datatype', ClassNode, ClassNodeView);
configureModelElement(context, 'label:heading', SLabel, SLabelView);
configureModelElement(context, 'node:attribute', SNode, RectangularNodeView);
configureModelElement(context, 'node:enumliteral', SNode, RectangularNodeView);
configureModelElement(context, 'node:operation', SNode, RectangularNodeView);
configureModelElement(context, 'label:text', SLabel, SLabelView);
configureModelElement(context, 'comp:comp', SCompartment, SCompartmentView);
configureModelElement(context, 'comp:header', SCompartment, SCompartmentView);
configureModelElement(context, 'icon', Icon, IconView);
configureModelElement(context, 'label:icon', SLabel, SLabelView);
configureModelElement(context, 'html', HtmlRoot, HtmlRootView);
configureModelElement(context, 'pre-rendered', PreRenderedElement, PreRenderedView);
configureModelElement(context, 'button:expand', SButton, ExpandButtonView);
configureModelElement(context, 'routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'volatile-routing-point', SRoutingHandle, SRoutingHandleView);
configureModelElement(context, 'edge:reference', SEdge, PolylineEdgeView);
configureModelElement(context, 'edge:inheritance', SEdge, InheritanceEdgeView);
configureModelElement(context, 'edge:aggregation', SEdge, AggregationEdgeView);
configureModelElement(context, 'edge:composition', SEdge, CompositionEdgeView);
configureModelElement(context, 'edge', SEdge, ArrowEdgeView);
configureViewerOptions(context, {
needsClientLayout: true,
needsServerLayout,
baseDiv: containerId
});