refactor(examples): rename graph to flow

This commit is contained in:
moklick
2020-05-14 10:57:08 +02:00
parent 267187b8d1
commit 0b7354610e
7 changed files with 42 additions and 21 deletions
+2 -2
View File
@@ -11,7 +11,7 @@ const initialElements = [
{ id: 'e1-3', source: '1', target: '3' },
];
const EmptyGraph = () => {
const InactiveFlow = () => {
const [isInteractive, setIsInteractive] = useState(false);
const onToggleInteractive = (evt) => {
setIsInteractive(evt.target.checked);
@@ -43,4 +43,4 @@ const EmptyGraph = () => {
);
}
export default EmptyGraph;
export default InactiveFlow;