From 1627bba220d65fccddfc6603c54fdbb206d48020 Mon Sep 17 00:00:00 2001 From: moklick Date: Mon, 4 May 2020 16:51:17 +0200 Subject: [PATCH] feat(examples): add source link --- example/src/CustomNode/index.js | 2 +- example/src/Empty/index.js | 2 +- example/src/Inactive/index.js | 2 +- example/src/Rich/index.js | 2 +- example/src/index.css | 31 ++++++++++++++++++++++++++++++- example/src/index.js | 18 +++++++++++++++--- 6 files changed, 49 insertions(+), 8 deletions(-) diff --git a/example/src/CustomNode/index.js b/example/src/CustomNode/index.js index ac57f7c4..45048578 100644 --- a/example/src/CustomNode/index.js +++ b/example/src/CustomNode/index.js @@ -10,7 +10,7 @@ const onLoad = (graph) => { console.log('graph loaded:', graph); }; -const initBgColor = '#8888e8'; +const initBgColor = '#f0e742'; const CustomNodeGraph = () => { const [elements, setElements] = useState([]); diff --git a/example/src/Empty/index.js b/example/src/Empty/index.js index 8f1b72ee..eb9f2a81 100644 --- a/example/src/Empty/index.js +++ b/example/src/Empty/index.js @@ -37,7 +37,7 @@ const EmptyGraph = () => { diff --git a/example/src/Inactive/index.js b/example/src/Inactive/index.js index 0e1f4c0e..38453c63 100644 --- a/example/src/Inactive/index.js +++ b/example/src/Inactive/index.js @@ -27,7 +27,7 @@ const EmptyGraph = () => {