Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The classes formerly provided by de.cau.cs.kieler.core are now to be found in org.eclipse.elk.core, with the following exceptions:
    • The ...properties package was moved to the .graph plugin.
    • ForwardingInputStream was moved to the ...graphviz.layouter plugin.
    • ForkedOutputStream was moved to the ...graphviz.layouter plugin.
  • All pre-defined layout types now have the ID org.eclipse.elk.type.XXX
  • All pre-defined diagram types now have the ID org.eclipse.elk.diagram.XXX
  • All pre-defined layout options now have the ID org.eclipse.elk.XXX (except for options defined by specific layout algorithms, which have the ID org.eclipse.elk.ALGORITHM.XXX)
    • de.cau.cs.kieler.klay.layered.portAnchor is now org.eclipse.elk.portAnchor instead of org.eclipse.elk.layered.portAnchor
  • All pre-defined layout algorithms now have the ID org.eclipse.elk.algorithm.XXX

 

  • IKielerProgressMonitor -> IElkProgressMonitor

  • ILayoutConfig -> LayoutConfigurator

  • IVolatileLayoutConfig

    • use LayoutConfigurator

    • to set global options

      Code Block
      languagejava
      linenumberstrue
      collapsetrue
      IVolatileLayoutConfig#setValue(prop, value)
      -->
      LayoutConfigurator#configure(KGraphElement.class).setProperty(prop, value)
  • IDiagramLayoutManager -> IDiagramLayoutConnector
  • LayoutManagerService -> LayoutConnectorsService

  • LayoutListeners:

    Code Block
    languagejava
    linenumberstrue
    collapsetrue
    DiagramLayoutEngine.INSTANCE.addLayoutTerminatedListener(new DiagramLayoutEngine.ILayoutTerminatedListener() {       
    -->
    LayoutConnectorsService.getInstance().addLayoutListener(new ILayoutListener() {

Perhaps of lesser interest:

...