various tweaks and now trying to build heatmaps in two different ways

This commit is contained in:
csawatzky 2026-04-28 17:00:09 -06:00
parent 6f6a062106
commit 61aa93aabd
12 changed files with 932 additions and 244 deletions

View file

@ -9,12 +9,13 @@ interface Props {
cableData: CableData[]
nodeData: NodeData[]
bin: Bin
binCenter: Vector3
binCenter: Vector3,
renderOrder?: number,
onNodeClick?: (node: NodeData, cable: CableData) => void
}
export default function BinCables(props: Props){
const {bin, binCenter, cableData, nodeData, onNodeClick} = props
const {bin, binCenter, cableData, nodeData, onNodeClick, renderOrder} = props
return (
<React.Fragment>
{cableData.map((cable, i) => {
@ -32,6 +33,7 @@ export default function BinCables(props: Props){
onNodeClick(node, cable)
}
}}
renderOrder={renderOrder}
/>
)}
)}