import * as React from "react";
import * as Mantine from "@mantine/core";
const graphEditorLegend = <>
Blue node: Ordinary node (with GUID)
Orange node: Value node
Arrow: Edge (with label)
>;
const rountangleEditorLegend = <>
Rountangle: Rountangle (with GUID)
>;
export const graphEditor = <>
{graphEditorLegend}
Left-Drag: Drag Node
Middle-Click: Delete Node
Right-Click: Create Node
Right-Drag: Create Edge (to Node or Value)
Wheel: Zoom
>;
export const graphEditorReadonly = <>
{graphEditorLegend}
Left-Drag: Drag Node
Wheel: Zoom
>;
export const rountangleEditor = <>
Right-Click: Create Rountangle
Alt + Left-Click or Middle-Click: Delete Rountangle
Left-Drag: Move/Resize Rountangle / Pan Canvas
Wheel: Zoom
>;
export const deltaGraph = <>
Node: Delta
Arrow: Dependency
Yellow line: Conflict
Active deltas are bold.
Left-Drag: Drag Node
>;
export const historyGraph = <>
Node: Version
Arrow: Parent-version-link
Current version is bold.
Left-Drag: Drag Node
Right-Click: Goto Version
>;