Skip to content

Commit e3623bb

Browse files
committed
add comment
1 parent 320dc40 commit e3623bb

File tree

2 files changed

+6
-465
lines changed

2 files changed

+6
-465
lines changed

app/containers/Inspect.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import dat from 'dat.gui'; // Import dat.gui library here
55
import '../stylesheets/Inspect.scss';
66
import { CSS2DRenderer, CSS2DObject } from 'three/examples/jsm/renderers/CSS2DRenderer.js';
77

8+
9+
10+
// currently, Insepect only works statically, but it should be possible to make it dynamic. To do so, we need to make get kubernetes resources information from the backend, and then pass it to the graph.
11+
// It will be great if future iteration group can make it dynamic.
12+
813
const Inspect = () => {
914
useEffect(() => {
1015
// controls
@@ -14,7 +19,7 @@ const Inspect = () => {
1419
.onChange(orientation => graph && graph.dagMode(orientation));
1520

1621
// graph config
17-
const NODE_REL_SIZE = 8;
22+
const NODE_REL_SIZE = 7;
1823
const graph = ForceGraph3D({
1924
extraRenderers: [new CSS2DRenderer()]
2025
})

0 commit comments

Comments
 (0)