How to fix node position?
number-00 opened this issue · 4 comments
number-00 commented
I tried setting x, y values for the nodes, and set it as fixed. But I noticed that it still renders at different position on each reload.
number-00 commented
nodes: [
{
id: 1,
label: '1',
title: '1 tootip text',
fixed: {
x: true,
y: true,
},
group: 'myGroup',
physics: false,
size: 32,
x: -35,
y: -152,
},
VakarisZ commented
@number-00 Try setting randomSeed
, this is what helped me
dannykennedy commented
This doesn't seem to work for me either, and randomSeed
didn't help...
dannykennedy commented
OK, I was using physics: true
, and the physics were just pulling things out of place 🤦♂️