Interface DiagramLayouter

All Known Implementing Classes:
AbstractDiagramLayouter, AbstractHierarchicDiagramLayouter, AbstractLinkDiagramLayouter, ActivityDiagramLayouter, BusinessProcessDiagramLayouter, CircularDiagramLayouter, ClassDiagramLayouter, CompositeStructureDiagramLayouter, GridDiagramLayouter, HierarchicDiagramLayouter, OrderedHierarchicDiagramLayouter, OrganicDiagramLayouter, OrganicLinkDiagramLayouter, OrthogonalDiagramLayouter, OrthogonalLinkDiagramLayouter, StateDiagramLayouter, TreeDiagramLayouter

@OpenApi @Deprecated public interface DiagramLayouter
Deprecated.
diagram layouting should be done using Layouting class
Layout diagram symbols in diagram.
  • Method Details

    • layout

      @Deprecated(since="2024x Refresh3", forRemoval=true) boolean layout(AbstractDiagramLayouterOptionsGroup options, AbstractDiagramPresentationElement dpe, @CheckForNull com.dassault_systemes.modeler.foundation.editing.CompositeCommand mc)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Layouts diagram.
      Parameters:
      options - defined layouter options
      dpe - diagram
      mc - macro command to add layouting to
      Returns:
      true if layout was a success, false otherwise
    • canLayout

      @OpenApi @Deprecated boolean canLayout(AbstractDiagramPresentationElement dpe)
      Deprecated.
      Checks is diagram can be layouted
      Parameters:
      dpe - diagram to layout
      Returns:
      true if it can be layouted, false otherwise
    • drawLayoutResults

      @OpenApi @Deprecated(since="2024x Refresh3", forRemoval=true) void drawLayoutResults(BaseGraph graph)
      Deprecated, for removal: This API element is subject to removal in a future version.
      outdated, should not be used
      Draws layout results
      Parameters:
      graph - current graph that is layouted
    • getOptionsID

      @OpenApi @Deprecated(since="2024x Refresh3", forRemoval=true) String getOptionsID()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns:
      options ID