Interface DiagramData


@OpenApi public interface DiagramData
Information used to create new diagram presentation element with all inner elements.
  • Method Details

    • getDiagramPresentationElementID

      @OpenApi String getDiagramPresentationElementID()
      Returns diagram presentation element's ID.
      Returns:
      presentation element id.
    • getDiagramElementID

      @OpenApi String getDiagramElementID()
      ID of diagram element.
      Returns:
      diagram element id.
    • getDiagramType

      @OpenApi String getDiagramType()
      Diagram type
      Returns:
      diagram type
    • getUMLDiagramType

      @OpenApi String getUMLDiagramType()
      UML diagramType
      Returns:
      uml diagram type.
    • getPreviewPath

      String getPreviewPath()
      Returns:
      absolute path to exported diagram image (png format). Can be null if export could not be done.
    • getProjectFileName

      String getProjectFileName()
      Returns project file name.
      Returns:
      project file name.
    • getDiagramName

      @OpenApi String getDiagramName()
      Returns diagram name of the diagram.
      Returns:
      diagram name.
    • getBackground

      Color getBackground()
      Returns background color of the diagram.
      Returns:
      background color.
    • getSymbolData

      @OpenApi Map<String,SymbolData> getSymbolData()
    • getLabel

      String getLabel()
      Returns representation text of the diagram.
      Returns:
      representation text
    • isSymbolDiagram

      boolean isSymbolDiagram()
      Returns:
      true when current diagram is symbol diagram (symbols can be drawn in it), otherwise - false
    • getRealDiagramElementID

      String getRealDiagramElementID()
      Returns:
      real diagram's element id
    • getDiagramQualifiedName

      String getDiagramQualifiedName()
      Returns:
      qualified name of the diagram
    • getModifiedBy

      String getModifiedBy()
      Returns:
      modified by
    • getModificationDate

      String getModificationDate()
      Returns:
      modification date
    • getCreatedBy

      String getCreatedBy()
      Returns:
      created by
    • getCreationDate

      String getCreationDate()
      Returns:
      creation date
    • isProxyElement

      default boolean isProxyElement()
      Returns:
      is diagram proxy element