Interface DiagramLayouter

    • Method Detail

      • layout

        boolean layout​(AbstractDiagramLayouterOptionsGroup options,
                       DiagramPresentationElement dpe,
                       @CheckForNull
                       com.nomagic.magicdraw.commands.MacroCommand mc)
        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
        boolean canLayout​(DiagramPresentationElement dpe)
        Checks is diagram can be layouter
        Parameters:
        dpe - diagram to layout
        Returns:
        true if it can be layouted, false otherwise
      • drawLayoutResults

        @OpenApi
        void drawLayoutResults​(UMLGraph graph)
        Draws layout results
        Parameters:
        graph - current graph that is layouted
      • getOptionsID

        @OpenApi
        java.lang.String getOptionsID()
        Returns:
        options ID