Class DMNSugiyamaLayoutService

  • All Implemented Interfaces:
    org.kie.workbench.common.stunner.core.graph.processing.layout.LayoutService

    public class DMNSugiyamaLayoutService
    extends org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.SugiyamaLayoutService
    implements org.kie.workbench.common.stunner.core.graph.processing.layout.LayoutService
    • Constructor Summary

      Constructors 
      Constructor Description
      DMNSugiyamaLayoutService​(org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step01.CycleBreaker cycleBreaker, org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step02.VertexLayerer vertexLayerer, org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step03.VertexOrdering vertexOrdering, org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step04.VertexPositioning vertexPositioning, DMNGraphProcessor graphProcessor)
      Default constructor.
    • Method Summary

      • Methods inherited from class org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.SugiyamaLayoutService

        createLayout
      • Methods inherited from class org.kie.workbench.common.stunner.core.graph.processing.layout.AbstractLayoutService

        getLayoutInformationThreshold, hasLayoutInformation, isCloseToZero
      • Methods inherited from interface org.kie.workbench.common.stunner.core.graph.processing.layout.LayoutService

        createLayout, hasLayoutInformation
    • Constructor Detail

      • DMNSugiyamaLayoutService

        @Inject
        public DMNSugiyamaLayoutService​(org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step01.CycleBreaker cycleBreaker,
                                        org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step02.VertexLayerer vertexLayerer,
                                        org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step03.VertexOrdering vertexOrdering,
                                        org.kie.workbench.common.stunner.core.graph.processing.layout.sugiyama.step04.VertexPositioning vertexPositioning,
                                        @Any
                                        DMNGraphProcessor graphProcessor)
        Default constructor.
        Parameters:
        cycleBreaker - The strategy used to break cycles in cycle graphs.
        vertexLayerer - The strategy used to choose the layer for each vertex.
        vertexOrdering - The strategy used to order vertices inside each layer.
        vertexPositioning - The strategy used to position vertices on screen (x,y coordinates).
        graphProcessor - Applies some pre-process in the graph to extract the nodes to be used.