Hi! I've an issue, when change text in node, in another component by changing datas in index.js and transfer them in RightArea
.js. by componentWillReceiveProps, the connections become broken after creating a new node, what it could be?
the code below:
RightArea:
export default class RightArea extends React.Component {
state = {
initialized: false,
dialogVisible: false,
datas: this.props.datas,
dialogTitle: '',
labelText: '',
nodes: [],
edges: [],
info: null
};
componentWillReceiveProps = newProps => {
this.setState(
{
datas: newProps.datas,
nodes: newProps.datas.nodes,
edges: newProps.datas.edges
}
);
};
componentDidMount() {
this.init();
this.refs.nodes = [];
}
componentWillMount = () => {};
hideModal = () => {
this.setState({ dialogVisible: false });
};

Hi! I've an issue, when change text in node, in another component by changing datas in index.js and transfer them in RightArea
.js. by componentWillReceiveProps, the connections become broken after creating a new node, what it could be?
the code below:
RightArea: