Interface SimpleProcessImageRenderer

  • All Superinterfaces:
    ADEPT2Service

    public interface SimpleProcessImageRenderer
    extends ADEPT2Service
    Service interface for getting template and instance process graphs rendered as images. The templates and instances are retrieved directly from the provided objects.
    • Method Detail

      • renderTemplate

        ProcessImageData renderTemplate​(Template template,
                                        RenderOptions options)
        Gets the designated process template as rendered image.
        Parameters:
        template - The process template to render.
        options - Various options for the rendering implementation. Use null to use the defaults of this service.
        Returns:
        An image representing the designated process template.
      • renderInstance

        ProcessImageData renderInstance​(Instance instance,
                                        RenderOptions options)
        Gets the designated process instance as rendered image.
        Parameters:
        instance - The process instance to render. This has to contain the corresponding template.
        options - Various options for the rendering implementation. Use null to use the defaults of this service.
        Returns:
        An image representing the designated process instance.