|
@ -16,6 +16,7 @@ |
|
|
let currentTask: TaskDescriptor | null = null; |
|
|
let currentTask: TaskDescriptor | null = null; |
|
|
let nodeDraggingEnabled: boolean = false; |
|
|
let nodeDraggingEnabled: boolean = false; |
|
|
let angle: number; |
|
|
let angle: number; |
|
|
|
|
|
let showHiddenEdges: boolean = false; |
|
|
const { open } = getContext("simple-modal"); |
|
|
const { open } = getContext("simple-modal"); |
|
|
|
|
|
|
|
|
function clickTask(e: CustomEvent<TaskDescriptor>) { |
|
|
function clickTask(e: CustomEvent<TaskDescriptor>) { |
|
@ -203,7 +204,8 @@ |
|
|
on:preSelectTask={startHovering} |
|
|
on:preSelectTask={startHovering} |
|
|
bind:this={graph} |
|
|
bind:this={graph} |
|
|
{nodeDraggingEnabled} |
|
|
{nodeDraggingEnabled} |
|
|
on:openTask={openTaskDetailEditorButton} /> |
|
|
on:openTask={openTaskDetailEditorButton} |
|
|
|
|
|
{showHiddenEdges} /> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="right"> |
|
|
<div class="right"> |
|
@ -238,6 +240,11 @@ |
|
|
vrcholů |
|
|
vrcholů |
|
|
</label> |
|
|
</label> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div> |
|
|
|
|
|
<label> |
|
|
|
|
|
<input type="checkbox" bind:checked={showHiddenEdges} /> Zobrazit skryté hrany |
|
|
|
|
|
</label> |
|
|
|
|
|
</div> |
|
|
{#if clicked.length > 0 && getTask(clicked[clicked.length - 1]).type == "label"} |
|
|
{#if clicked.length > 0 && getTask(clicked[clicked.length - 1]).type == "label"} |
|
|
<div> |
|
|
<div> |
|
|
Úhel rotace: |
|
|
Úhel rotace: |
|
|