Skip to content

Exporting Diagrams as Images via Scripting #119

Open

Description

@RezaOnGithub

I'm trying to export a subset of diagram to PNGs in batch. The problem is, I can't seem to find an object from Jython that provides an IDiagramHandle or similar. (not sure, as far as I could find via Eclipse) Is exporting diagram images via scripting possible? Thanks in advance!

Activity

  1. etiennebrosse commented on May 5, 2025

    @etiennebrosse

    Modelio provides an official API unfortunatly this latter does not contain any service regarding diagram export.

    Now what could be possible...

    You can take a look at the Java code of the diagram export located here: org.modelio.diagram.editor.handlers.SaveImageHandler
    Maybe a Jython scrip could use this as entry point...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions