jgraph / drawio

draw.io is a JavaScript, client-side editor for general diagramming.
https://www.drawio.com
Other
41.25k stars 7.65k forks source link

How to attach a list of mandatory properties for every control in draw.io ? #2809

Closed MalarvizhiK closed 2 years ago

MalarvizhiK commented 2 years ago

Preflight Checklist

Describe the bug For every control in draw.io like IBM/VPC instance, is there a way to map it with a list of mandatory properties that a user has to fill for drawing architecture diagram ?

To Reproduce Steps to reproduce the behavior:

  1. Open draw.io. Select IBM Cloud stencil.
  2. Go to IBM/VPC
  3. Click Instance. Drag and drop the instance. Now, I need to right click, edit data and add property and its value.
  4. How to fill each instance control with default set of properties ? Note: The list of properties will differ for each control.

Expected behavior I want to attach every control with a list of properties. Is there any way ? Note: The list of properties will differ for each control. I want my users to fill all values for a list of properties that differs for different controls.

Screenshots If applicable, add screenshots to help explain your problem.

draw.io version (In the Help->About menu of the draw.io editor): 16.5.1

Desktop (please complete the following information):

davidjgraph commented 2 years ago

That's not possible. draw.io is more a generic diagramming tool, you need something more specialised for that.