React-diagrams: Editable link labels

Created on 30 Jan 2019  路  8Comments  路  Source: projectstorm/react-diagrams

A lot of use cases for a diagram library involve the possibility of adding an editable text field to link. For example, https://live.yworks.com/demos/complete/bpmn/index.html and https://demo.bpmn.io/new
Currently, this feature isn't available in projectstorm. I would like to take up and implement this.

help wanted needs demo

Most helpful comment

@dylanvorster, I have an example code, so I can try to make a demo

All 8 comments

Any updates on this feature?

I haven't been assigned this issue so haven't been able to work on the same.

You can do this now by implementing a custom Label

@dylanvorster How to use a custom label? Do you have the example code ?
My usecase is to show remove button instead of label when the mouse is hover on the link

@dylanvorster, I have an example code, so I can try to make a demo

@Soarex16 would you be willing to share some code snippet ;)

I just would want to have different label background colors, and possibly extra icon buttons on the link in future

@flieks yes, I want to write example, forgot about it. Thanks for reminding :)

I think, this issue should be closed.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

kmannislands picture kmannislands  路  3Comments

maxbasque picture maxbasque  路  3Comments

schecter22107 picture schecter22107  路  3Comments

ganesh-sankey picture ganesh-sankey  路  4Comments

gugaevkirill picture gugaevkirill  路  3Comments