## FoamTree 2.0.x emulation

While FoamTree 3.0.x is a drop-in replacement for the 2.0.x line in terms of the JavaScript API compatibility, it introduced a number of option defaults changes to refresh the visual appearance and improve interaction.

If you'd like to revert to the look and feel known from FoamTree 2.0.x, you can do so by tweaking a number of options as this example does. Please note that you can still retain some of the 3.0.x improvements, such as zooming or group exposure.

See also the emulation of the Flash-based 1.0.x line of FoamTree.

#### What's in the code?

- Using the `ordered` `relaxationInitializer` to get polygon layouts known from FoamTree 2.0.x defaults.
- Using a custom `groupColorDecorator` to revert to the default color scheme known from FoamTree 2.0.x.
- Restoring FoamTree 2.0.x defaults for group polygon and label rendering.
- Restoring the default interactions known from FoamTree 2.0.x: double click or Shift+click to open group, Ctrl+Shift+click to close the group.