package io.cameleer.server.app.config;

import io.cameleer.server.app.diagram.ElkDiagramRenderer;
import io.cameleer.server.core.diagram.DiagramRenderer;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * Creates beans for diagram rendering.
 */
@Configuration
public class DiagramBeanConfig {

    @Bean
    public DiagramRenderer diagramRenderer() {
        return new ElkDiagramRenderer();
    }
}
