Interface Diagram

    • Method Detail

      • exportDiagram

        ImageData exportDiagram​(OutputStream os,
                                int num,
                                FileFormatOption fileFormat)
                         throws IOException
        Export the diagram as an image to some format. Note that a diagram could be drawn as several images (think about new page for sequence diagram for example).
        Parameters:
        os - where to write the image
        num - usually 0 (index of the image to be exported for this diagram).
        fileFormat - file format to use
        Returns:
        a description of the generated image
        Throws:
        IOException
      • getNbImages

        int getNbImages()
        Number of images in this diagram (usually, 1)
        Returns:
        usually 1
      • getSplitPagesHorizontal

        int getSplitPagesHorizontal()
      • getSplitPagesVertical

        int getSplitPagesVertical()
      • getMetadata

        String getMetadata()
      • getWarningOrError

        String getWarningOrError()
      • getSource

        UmlSource getSource()
        The original source of the diagram
      • hasUrl

        boolean hasUrl()
        Check if the Diagram have some links.
      • getTitleDisplay

        Display getTitleDisplay()