Forum Replies Created
-
AuthorPosts
-
Arwen Vaughan
KeymasterWhat characters do you have to remove in order for this to work in PlantText.com? Can you give me a minimum working example so I can look at the differences between working and not working, to see what syntax is causing the problem?
PlantText uses the PlantUML web service program, which requires sending the deflated version of the markup as a GET HTTP request. So, I tried running this example directly against their PlantUML web service and it did not work either. This means either the PlantUML web service has not been updated to a version that supports the feature you are using, or perhaps it is a problem with just the web service version or sending over HTTP.
I would try using the PlantUML jar file at the command prompt and see if it works in that more direct way. Let me know if you have already tried that and know the answer. If that works, then you need to post a bug report to the PlantUML folks and they will make it work. Again, PlantText is using their PlantUML web service so that is the only way to get it working for you.
Arwen Vaughan
KeymasterI think that is a very good suggestion. I have received that request a bunch of times now and agree it would be great.I will put that high on the priority list. The Ace editor can do it but I need to find the syntax and grammer for plantuml. Perhaps, this is a start…
https://github.com/bafolts/plantuml-code-generator#pegjs
I am very will willing to work with someone else to figure it out and implement it together. If someone can just tell me how to do it, then I will too.
Arwen Vaughan
KeymasterYes, take a look at the hyperlinks that appear below the diagrams. I think these are the types of links that you are asking about. The links do generate a diagram dynamically using a URL request with the encoded diagram text in the path / query string of the URL.
https://www.planttext.com/plantuml/TYPE/ENCODED_DIAGRAM
For example…
https://www.planttext.com/plantuml/img/SoWkIImgAStDuSfDLT3LjLFGA2hDq-HoICrB0Ge20000
https://www.planttext.com/plantuml/svg/SoWkIImgAStDuSfDLT3LjLFGA2hDq-HoICrB0Ge20000
https://www.planttext.com/plantuml/txt/SoWkIImgAStDuSfDLT3LjLFGA2hDq-HoICrB0Ge20000You can also use this URL to send someone to this application and have the diagram decoded straight into the editor…
https://www.planttext.com/?text=ENCODED_DIAGRAM
For example…
https://www.planttext.com/?text=SoWkIImgAStDuSfDLT3LjLFGA2hDq-HoICrB0Ge20000
Let me know if this doesn’t answer your question.
Arwen Vaughan
KeymasterThank you for the feedback Per. Yes, the interface is mostly changed cosmetically, not with a lot of new features. But, the entire website was ported to a completely different technology stack, so it was very new under the hood.
Regarding the save and load button, I am not sure why they are not enabled and working correctly if you are logged in with a valid Google account. I need to make sure that it works even if you did not activate your Google+ account. I’ll test it out and fix it if there is a problem there. Please let me know if there is an error message, or any way to reproduce it.
The Save and Load buttons should work by storing your diagram (and settings) on the remote server, so you can load it from another computer. The Refresh button, on the other hand, always stores your diagram in the “local storage” on the one computer you are using at that moment. The next time you go to the website it automatically loads the diagram from the browsers local storage. So this is fine if you are always using the same computer and browser. But, you can use the Save and Load buttons to retrieve your diagram from a different computer or browser.
Thanks again for the feedback!
Arwen Vaughan
KeymasterThere are a number of other PlantUML tools that are make to work offline, so you may want to check those out. There are Desktop versions many of which I have used and they work well. Take a look at this website … http://plantuml.com/running. Look under the header “Other” for “PlantUML Editor”. These all use the same common PlantUML language.
However, I think you could probably use PlanText.com as a standalone (at least the main features) if you install a local PlantUML server and then change the server that PlantText points to under the Settings button. This is a bit complicated if you are not technical. But, I will try this out and let you know how it works. The instructions for setting up the local PlantUML server are here … http://plantuml.com/server … if you want to try it now.
I’ll post something on this thread once I have time to test it out. Cheers.
Arwen Vaughan
KeymasterI have fixed the issue with the broken link and will have a new version of the software out this weekend some time. So, don’t bother fixing any old links you may have, as they will just start to work again soon. Cheers.
Arwen Vaughan
KeymasterThank you Francis. This is great feedback. I completely missed the HTML links. I will fix that very soon. Also, I will add the site to AlternativeTo.net. Funny thing is I use that site periodically but did not think to add it there before now. And yes, we will continue trying to add functionality to convert from code to plantuml and vice versa. Thanks again!
Arwen Vaughan
KeymasterThank you for the feedback Michiel. I will take a look at that. I tried to get all the links covered but may need to fix that. Thanks again!
Arwen Vaughan
KeymasterSorry about that. We went over the daily quota on Google App Engine usage. We are back up and running!
Arwen Vaughan
KeymasterI will be looking into why the site is down tonight. Sorry that the editor is not usable right now.
Arwen Vaughan
KeymasterIs it possible to have more than one save? It would be good if one could save at least ten text files on the server directly. Also how long before the old diagrams that ware saved are removed? I noticed that old links are not removed when resaving. The tool is great. One needs to draw these simple diagrams fast as they are changing all the time and this is the way to do it.
Arwen Vaughan
KeymasterNever mind that, when I did log out it was still there, but still, it could confuse people if their diagrams just disappear like that
Arwen Vaughan
KeymasterWhen I said log in, my whole diagram disappeared 🙁 it would be nice if this was fixed
Arwen Vaughan
KeymasterVery interesting, but should be very careful not to lose all the work by pressing wrong key. Don’t know what “stored local storage” means. There is no means to get it back.
Arwen Vaughan
KeymasterFantastic tool! Thanks so much for creating it and letting us have it for free! *) Saving multiple files in e.g. google drive would be nice. *) some control over the SVG format so that i can later parse it and add e.g. mouse event to elements. thanks
-
AuthorPosts