refactor(nodes): handle type changes #545

This commit is contained in:
moklick
2020-10-05 12:14:22 +02:00
parent 787f8e1e25
commit c4e4f76a2b
3 changed files with 64 additions and 0 deletions
+5
View File
@@ -15,6 +15,7 @@ import Provider from './Provider';
import Hidden from './Hidden';
import EdgeTypes from './EdgeTypes';
import CustomConnectionLine from './CustomConnectionLine';
import NodeTypeChange from './NodeTypeChange';
import './index.css';
@@ -79,6 +80,10 @@ const routes = [
path: '/custom-connectionline',
component: CustomConnectionLine,
},
{
path: '/nodetype-change',
component: NodeTypeChange,
},
];
const navLinks = routes.filter((route) => route.label);