Closed4

Astah UMLからdiagrams.netへエキスポートできるかを調査

Matsukura YukiMatsukura Yuki

UMLを書くときにはAstah UMLを使っています。
本当は、同時編集ができて他者との共有が楽なdraw.ioで作図、管理をしたいのですがUMLを書くときの使い勝手がとても悪いです。

Astah URMLからdraw.ioへコンバートできれば最高だなと思うので調査してみます。

Matsukura YukiMatsukura Yuki

軽くWebで日本語、英語で調べた感じではやりたいユースケースを実現するような記載が一切見当たりませんでした。

Matsukura YukiMatsukura Yuki

一応、GPT-4にも聞いてみたけど同じ見解。

SVGでのexport, importを試してみましたが1枚の画像として取り込めてしまってオブジェクトとして操作できないので編集できません。

> User
Can I export diagram created on Astah UML to diagrams.net?

> ChatGPT
Yes, you can export diagrams created in Astah UML to diagrams.net (formerly known as draw.io), but the process requires a few steps as there is no direct export-import feature between these two tools. Here's a general approach to do it:

Export from Astah UML:

First, you need to export the diagram from Astah UML. Astah UML typically allows you to export diagrams in various formats like PNG, EMF, SVG, etc. For diagrams.net, the SVG (Scalable Vector Graphics) format is a good option as it retains the vector quality of the diagrams, which means they can be scaled without losing quality.
Import to diagrams.net:

Open diagrams.net.
Create a new diagram or open an existing one where you want to import the Astah UML diagram.
Go to File > Import From and then select Device to upload the SVG file you exported from Astah UML.
Navigate to where you saved your SVG file, select it, and then click Open to import it into diagrams.net.
Please note that when you import an SVG file into diagrams.net, it might not be editable like a native diagrams.net drawing. The imported SVG will be treated as an image. This means you may not be able to edit individual components or elements of the diagram as you would in a native diagrams.net diagram. If you need editable components, you might have to recreate parts of the diagram in diagrams.net or use a compatible format for detailed editing.

> User
Can astah UML export as draw.io format?

> ChatGPT
As of my last update in April 2023, Astah UML does not support exporting diagrams directly in the native format of diagrams.net (formerly draw.io). The native format for diagrams.net is XML-based (.drawio or .xml files), and Astah UML's export options typically include formats like PNG, JPEG, SVG, EMF, and PDF, but not the specific XML format used by diagrams.net.

If you need to transfer a diagram from Astah UML to diagrams.net and maintain editability, the process is not straightforward. Here are a few possible workarounds:

Manual Recreation: Recreate the diagram manually in diagrams.net. This is often the most reliable method to ensure the diagram looks and functions exactly as you want in the diagrams.net environment.

Use of Intermediate Formats: If your diagram is not too complex, you might try exporting it from Astah UML in a universally recognized format like SVG, and then importing it into diagrams.net. However, as mentioned earlier, this will typically import the diagram as an image, not as an editable diagram.

Third-Party Tools or Scripts: There might be third-party tools or scripts developed by the community that can convert from one format to another. However, the availability and reliability of such tools can vary, and they might not always perfectly retain the structure and formatting of the original diagram.

Feature Request: If this feature is critical for your work, consider reaching out to Astah's support or forums to request this feature in future updates.

For the most current information and potential updates to Astah UML's capabilities, it's always a good idea to check the latest documentation or contact Astah's support directly.

Matsukura YukiMatsukura Yuki

Astah UMLでUMLを完成させてから、draw.ioで同じものを書くという二度手間になりますがそのほうが良い感じがしました。

議論しながら綺麗に瞬時に作図をするとなるとAstah UMLじゃないと実現できないので。

Astah UMLからdraw.ioにコピーするときにはアウトソーシングを使えば面倒ですが安く、自分の時間を使わないでできます。

このスクラップは2024/01/30にクローズされました