package com.cameleer.server.app.config;

import com.cameleer.server.app.diagram.ElkDiagramRenderer;
import com.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();
    }
}
