protected override async Task OnCheckedAsync() { await HostUiService.ShowDiagramWindowAsync(); DiagramWindowService.ExpandAllNodes(); DiagramWindowService.KeepDiagramCentered(); }
public override async Task ExecuteAsync() { await HostUiService.ShowDiagramWindowAsync(); DiagramWindowService.ExpandAllNodes(); DiagramWindowService.KeepDiagramCentered(); }
public ShowHideNodeDescriptionsToggleCommand(IAppServices appServices) : base(appServices, initialIsChecked: AppDefaults.NodeDescriptionsVisibleByDefault) { DiagramWindowService.ExpandAllNodes(); }