refactor(examples): rename Graph to ReactFlow

This commit is contained in:
moklick
2020-05-11 13:54:06 +02:00
parent af02925e8f
commit 401c572d10
8 changed files with 23 additions and 23 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ const initialElements = [
{ id: '5', data: { label: 'Node 5' }, position: { x: 450, y: 400 } },
{ id: '6', type: 'output', data: { label: 'Output Node 5' }, position: { x: 250, y: 550 } },
{ id: '7', type: 'output', data: { label: 'Output Node 6' }, position: { x: 550, y: 550 } },
{ id: 'e1-2', source: '1', target: '2', label: 'bezier edge', labelBgStyle: { fillOpacity: 0.75 } },
{ id: 'e1-2', source: '1', target: '2', label: 'bezier edge' },
{ id: 'e2-3', source: '2', target: '3', type: 'step', label: 'step edge' },
{ id: 'e3-4', source: '3', target: '4', type: 'straight', label: 'straight edge' },
{ id: 'e3-5', source: '4', target: '5', animated: true, label: 'animated styled edge', style: { stroke: 'red' } },