Welcome to the React feedback portal. We’re happy you’re here! If you have feedback on how to improve the React, we’d love to hear it!>
Thanks for joining our community and helping improve Syncfusion products!
<DiagramComponent
id="mind-map"
ref={diagram => (this.diagramInstance = diagram)}
width="100%"
height="500"
nodes={nodes}
connectors={connectors}
getNodeDefaults={obj => {
obj.height = 40;
obj.width = 80;
obj.shape = {type: 'Basic', shape: 'Ellipse'};
obj.style = {fill: "#048785", strokeColor: "Transparent"};
obj.ports = [];
obj.annotations = [{
content: obj.label,
style: {color: 'white'},
}]
return obj;
}}
getConnectorDefaults={connector => {
connector.type = "Bezier";
connector.style.strokeColor = "#4d4d4d";
connector.targetDecorator.shape = "DoubleArrow";
connector.sourceDecorator.shape = "DoubleArrow";
}}
positionChange={args => console.log(args)}
>
<Inject services={[UndoRedo]}/>
</DiagramComponent>
do not log a Event with state Complete
with first select and then move all OK
but with click and move not (Node is OK but Connector not)