fix(nested): add nested nodes example, always show nodes on top while dragging or selected

This commit is contained in:
Christopher Möller
2021-11-05 17:42:18 +01:00
parent fdf2571402
commit 1425a4363b
3 changed files with 201 additions and 8 deletions
+6 -1
View File
@@ -8,12 +8,13 @@ import Stress from './Stress';
import CustomNode from './CustomNode';
import FloatingEdges from './FloatingEdges';
import Layouting from './Layouting';
import NestedNodes from './NestedNodes';
import './index.css';
const routes = [
{
path: '/basic',
path: '/',
component: Basic,
},
{
@@ -36,6 +37,10 @@ const routes = [
path: '/layouting',
component: Layouting,
},
{
path: '/nested-nodes',
component: NestedNodes,
},
];
const Header = withRouter(({ history, location }) => {