{#if !error}
{#if width && height}
{#key renderCount}
{
localStorage.setItem('svelvet', encodeState({ modules, failureModule }))
window.open('/view_graph', '_blank')
}}
{download}
highlightEdges={false}
locked
bind:dataflow
{nodes}
width={fullSize ? fullWidth : width}
{edges}
{height}
{scroll}
nodeSelected={showDataflow}
background={false}
/>
{/key}
{/if}
{:else}
Error computing the graph: {error}
{/if}