{#if store.view === 'start'} {:else}
{#if store.activeId}
{#if store.layout !== 'preview'}
{/if} {#if store.layout === 'split'} {/if} {#if store.layout !== 'code'}
{/if} {#if store.layout === 'preview'} {#if store.editDrawer}
✎ {store.activeName}
{:else} {/if} {/if}
{:else}
No diagram open.
Pick one from the sidebar, or create a new diagram with +.
{/if} {#if store.showOptimize} {/if} {#if store.showGit} {/if}
{/if}