You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to work with ChatGPT to generate speaker layout diagrams and wire path tables. It's running into an issue where it is able to generate a bunch of speaker shape blocks with metadata according to a scheme I specify, and I can import that as a *.drawio file. However, if it tries to add lines to the diagram (it believes Draw.io treats them as edges with thickness 1), or even generate a diagram with 4 lines, I get a "could not load object mxGeometry" error. I haven't worked with Draw.io in this way before, so let me know if there is anything else I should provide.
EDIT: When I create a diagram, put in two shapes, draw a connector, export as xml, and then reimport, it works. ChatGPT is able to modify the shapes and the connectors, but cannot add another connector to the diagram, or use that as a template to generate the same diagram on its own. Below is an example file where ChatGPT tried to add one connector and one shape to an existing diagram I made. Import failed on that one.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to work with ChatGPT to generate speaker layout diagrams and wire path tables. It's running into an issue where it is able to generate a bunch of speaker shape blocks with metadata according to a scheme I specify, and I can import that as a *.drawio file. However, if it tries to add lines to the diagram (it believes Draw.io treats them as edges with thickness 1), or even generate a diagram with 4 lines, I get a "could not load object mxGeometry" error. I haven't worked with Draw.io in this way before, so let me know if there is anything else I should provide.
EDIT: When I create a diagram, put in two shapes, draw a connector, export as xml, and then reimport, it works. ChatGPT is able to modify the shapes and the connectors, but cannot add another connector to the diagram, or use that as a template to generate the same diagram on its own. Below is an example file where ChatGPT tried to add one connector and one shape to an existing diagram I made. Import failed on that one.
Generative_Test_4_ChainExtended.drawio.txt
TL:DR - Is it possible to programmatically add connector lines in draw.io via xml file?
Beta Was this translation helpful? Give feedback.
All reactions