Class AbstractDiagramLayouter

    • Constructor Detail

      • AbstractDiagramLayouter

        @OpenApi
        protected AbstractDiagramLayouter​(java.lang.String optionId,
                                          boolean nodes,
                                          boolean paths)
        Constructor
        Parameters:
        optionId - layouter options id
        nodes - true if should layout nodes
        paths - true if should layout edges
      • AbstractDiagramLayouter

        @OpenApi
        @Deprecated
        protected AbstractDiagramLayouter​(java.lang.String optionId,
                                          boolean nodes,
                                          boolean paths,
                                          boolean supportsSubgraph)
        Deprecated.
        supportsSubgraph has no effect
      • AbstractDiagramLayouter

        @OpenApi
        protected AbstractDiagramLayouter​(java.lang.String optionId)
        Constructor
        Parameters:
        optionId - layouter options id
      • AbstractDiagramLayouter

        @OpenApi
        @Deprecated
        protected AbstractDiagramLayouter​(java.lang.String optionId,
                                          boolean supportsSubgraph)
        Deprecated.
        supportsSubgraph has no effect
        Parameters:
        optionId - layouter options id
    • Method Detail

      • getSelected

        @OpenApi
        protected java.util.Set<PresentationElement> getSelected​(DiagramPresentationElement diagramView)
        Collects a set of selected layoutable presentation elements in a diagram
        Parameters:
        diagramView - the diagram that elements were selected in
        Returns:
        a set of selected layoutable presentation elements in a diagram. Empty if whole diagram is layouted.
      • isTypeSupported

        @OpenApi
        public boolean isTypeSupported​(DiagramType type)
        Test the given type is supported.
        Parameters:
        type - The given type.
        Returns:
        true, if diagram type is supported