Replies: 2 comments 7 replies
-
|
Hi AFAIK, the graph editors examples haven't been migrated to the new maxGraph API. There are still in "packages/html/stories/stashed". So, if you are interested in such support, I suggest you to play with it and try to make it works. |
Beta Was this translation helpful? Give feedback.
6 replies
-
|
Hi guys, is there please any movement with this? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I intend to use the maxGraph editor as a basis for my project (the goal: maxGraph editor should serve as a configuration tool for the UI of a Java app). As a start, I would like to use the editor and then adapt it for the purposes of my project. A suitable example for this would be this grapheditor.
In the examples of maxGraph I unfortunately don't see an example with a complete editor with toolbar and sidebar, but only how editor is used without toolbar and sidebar, e.g. here: SwimLanes.stories.js.
One more thing is unclear to me. Is the use of the xml configuration files as described at EditorCodec.html or also described at tutorial.html current or deprecated? Both in the examples of mxGraph and drawio the approach of xml configuration is not followed, but Editor instances are created using an alternative concept without xml. In the examples, maxGraph also uses the editor constructor without xml-config (Swimlanes.stories.js), although the xml-config approach is commented out directly above it.
I find the approach of configuring the sidebar, toolbar and context menu via xml files very interesting, but unfortunately have not found any working examples anywhere.
Could someone give me a hint on how best to put together a working editor as a starting point? It is important for me to know whether configuring the editor, toolbar and sidebar via xml makes sense or whether the xml configuration method is deprecated and should no longer be used?
Beta Was this translation helpful? Give feedback.
All reactions