Label on link are not rendering properly
@dylanvorster I fresh cloned the library. Run the set of commands as mentioned in docs.
- yarn install
- yarn run storybook
I came across issue label not rendering properly on continuous drag of node and also after drag in the section storybook/demo Links with labels. I have attached the gif for the same.

I had this issue too but was time pressured and didn't have the time to verify if it was me or a genuine fault.
My hacky temp solution follows below in case you need a quick fix.
constructor(props: any) {
super(props);
this.labelFixToken = setInterval(this.startFixLabels, 1);
var state = new State();
this.state = state;
}
startFixLabels() {
var labels = document.getElementsByClassName('srd-default-link__label');
for (var i = 0; i < labels.length; i++) {
labels[i].setAttribute('width', '0px');
}
}
In addition to being terrible this comes with a bunch of caveats, it currently runs every 1ms so please change that and you should remember to call clearInterval when you're tearing down whatever you're using to render the editor.
I encountered this problem too? is this issue already addressed?

Can someone tell me how to override the addLabel method? I'm using typescript
UPDATE: just found a semi permanent solution without set interval, open the lib folder in node_modules and find main.js inside /dist/e2e. Open it and direcly find "__label", then change the width into 0.
Note that this fix will be reset everytime you update the library.
closing due to investigation https://hackmd.io/@renato-bohler/react-diagrams-issues-analysis