code: function () {
      _setLayout(_layout === LAYOUTS.topToBottom ?
          LAYOUTS.leftToRight :
          LAYOUTS.topToBottom);
      return _layout === LAYOUTS.topToBottom;
    }
docs: Toggle graph layouts between the available options