freegroup / draw2d

Create Visio like drawings, diagrams or workflows with JavaScript and HTML5
https://freegroup.github.io/draw2d/#/examples
MIT License
734 stars 226 forks source link

How to develop a custom "input" shape? #228

Closed eastxing closed 1 year ago

eastxing commented 1 year ago

Hi there, I have used the old version draw2d.js for years(since 2010). Now I want to upgrade to the latest new version. Then I found now all your figure must connect to a shape. My figure contains normal html form field, such as input text, textarea, combo, check box, radio box, ... My question is what kind of shape should I created for my figure? Can you give some suggestions? Thanks.

freegroup commented 1 year ago

sorry - the 2010 version is completely based on HTML. Each "pixel" of the graph is implemented with Div's. No Canvas no SVG at this time.

In this case, these two libs are not compatible at all. Sorry for this

freegroup commented 1 year ago

very very old demo of one of the first versions. http://freegroup.github.io/draw2d_dhtml/demo/