How to get a list of hyperlink information using Astah API

Yesterday I received a request from one of our customers saying “I’d like to get a list of hyperlink information in a project.”

This is their background:
They have one “Template” model which everyone makes a copy of and modifies for their own use. They heavily reuse UML Activity diagram with lots of hyperlinks. And this customer wanted to list up models that have hyperlinks to certain type of model (in their case, it was a CallBehaviour Action).

Let me show you the solution we provided using a sample diagram below.

UML Astah Activity DiagramThere are three Activity diagrams, A, B and C and [Action0] has a hyperlink to [CallBehaviorAction0] (Red) and both [Action1] and [Action2] have one to [Callbehavior Action1] (Blue) and they wanted to know all about the hyperlink information of the CallBehaviorActions (towards to the CallbehaviorActions) in the project. So that helps them to know what models they need to be careful with when they modify the model.

The easiest way to do is using our new Script Plug-in which enables you to add features via a scripting language dynamically. (Read the “Introduction of Script Plug-in” post for details and how to use.) So one of our developers wrote a Java script for them using Astah API.

Here’s the result of running the Java Script using the Script Plug-in:

Astah Activity Diagram Sample UML

In the bottom pane of the Script window, it lists up all the model information which has hyperlinks to CallBehaviorActions.
Astah_ScriptPlug-n

You can download this Java Script here and there are more Script samples up on our website. Script Plug-in is free to use for both Astah Professional and Astah Community editions. Take a look, download and get the good use of it! Hope we have a library of useful scripts for all the users to share in near future. So if you create one or have any sample requests, please feel free to let us know!
Astah Script Plugins

Cheers,
SJ

Posted in News, Plug-in, Support, TIPS, UML | Leave a comment

Objective-C Export Available with anycode Plug-ins update!

Objective-C export is now available with any<code/> Plug-in’s update made on March 23rd.
Anycode_Plugin

The any<code/> is a free code generator specially made for Astah which our Friends of Astah member Jose developed. This enables you to export UML models to Java, PHP or technically any language you want using Templates. This Plug-in works with Astah Community edition too, so that it is a big option for Astah Community users because currently Java import/export functionalities are built in in Astah Professional only.

At this update, Jose made the two following main changes:
- New template engine (Groovy) to replace Freemarker with
- Objective-C 2.0 first directive + tutorial (Read tutorial)

Both are made based on actual user’s feedback, so now it must be a lot easier to use.
Update any<code/> plugin is available from here.

Thank you Jose for your great work and continuous effort.

Cheers,
SJ

Related post: Free Code Generator for Astah

Posted in Plug-in, TIPS, UML | Leave a comment

Astah on Java8

Astah_Oracle_Java8Java 8 is now available. However Java 8 is not included in the System Requirements for Astah yet. So we recommend you not to use Java8 with Astah yet. If you still would like to use it, please read the known issue below.

If you are on Mac:
Appearance of Start screen can cause the freeze upon on launching Astah or it makes it extremely long to launch it. So choose not to show Start screen in the System Properties. (For how to do so, please refer to [3. Solution] on this post.

If it lets Astah freeze when launching, you can try the following way:
(1) Open the property file (User home\.astah\professional (or Community)\JudeP.properties (Jude.properties (if Community) with a text editor
(2) Search for “diagram.editor.initial_operation”
(3) If found, make its value as “false”. If not found, add “diagram.editor.initial_operation=false” and overwrite the file

We’ll make an announce when we fix a release plan that will support Java 8.
No technical support will be provided to any issues arose on Java8, but we still accept reports for our further development. So please feel free to send us reports through here.

Cheers,
SJ

Posted in News, UML | Tagged | Leave a comment

[TIPS] How to show States of Statemachine diagram and Actions in Activity diagram in the Structure view

[Editions for: Astah Professional, Astah Community, Astah SysML and Astah GSN]

Did you know that you can show States and Submachine States of Statemachine diagram and Actions and CallBehaviorActions in Activity diagram in the Structure Tree?

To do so,
(1) Go to [Tool] – [System Properties]  and select [Project View] from the left menu
(2) Check the option [Show States and Submachine States on the structure tree] or [Show Actions and CallBehavior Actions] on the structure tree] and then click [Apply] – [OK].
Astah System Properties

Now they appear in the structure view.
Astah Structure Tree

Take a moment to browse the System Properties ([Tool] – [System Properties]), there may be options that you were looking for and changing them can make Astah much easier for you to work with!

Cheers,
SJ

Posted in Support, TIPS, UML | Leave a comment

Breakdown of Astah SysML 1.1′s Release Notes

Hi Astah SysML users,

Astah SysML LogoI wanted to break down new functions and improvements of Astah SysML 1.1′s Release Notes here.

Astah_SysML_API

Astah SysML API Sample application on Github

API
Based on requests from our loyal users who wish to integrate SysML models of Astah SysML with other tools, we released API. We have user guide, JavaDoc on our website and are sharing sample applications on Github for you to learn how to use our API.

Astah_Plugin_development_tutorialPlug-in architecture and SDK
Needless to say, we have laid out the architecture for you to easily develop Plugins to extend its functionalities to achieve your specific needs. Plug-in development tutorial and Astah Plug-in SDK will help you get started on your plug-in development.

Official Multi-platform release
Officially and completely Astah SysML is available for Windows, Linux and Mac OS. Older versions were already working on them but this time its official meaning more stable and firm technical support for multi-platform.

[Align Port] menu on Block/Interface Blocks
Alining multiple Ports on Blocks are now easily done with just a click of this new [Align Port] menu. It even automatically resizes the block to be in the best size as visual.
Align_Port

Stereotype to ObjectNodes in Activity Diagram
Now you are able to add Stereotypes to ObjectNodes in Activity Diagram.
Stereotype_for_ObjectNodes

Auto-add {stream} to the ObjectFlows
Now setting “stream” to ObjectNodes will automatically add {stream} notations on the diagram.
Stream

[Information Flow Dependency] in Block Definition Diagram
[Information Flow Dependency] button is added under [Dependency] in Block Definition Diagram’s tool bar.
Information_Flow_Dependency

This was a bit of breakdowns of Astah SysML 1.1‘s new improvements. We believe small improvements can make a big difference when modeling. More usability improvements are implemented in version 1.1, download a free trial to experience it by yourself.AstahSysML_FreeDownload

Cheers,
SJ

Posted in News, SysML | Tagged | Leave a comment

Astah SysML 1.1 Released – API now available!

Our SysML modeling tool Astah SysML‘s latest version 1.1 is now out!

What is SysML?
SysML is already the standard for complex and large engineering problems, and its use is growing everyday. SysML creates a common language and standards for engineers across many different fields including software, electric and mechanical. (Read more about SysML)

What is Astah SysML?
Astah SysML is a lightweight and intuitive tool works on Windows, Linux and Mac OS X to make SysML modeling simple by letting you draw following diagrams:
Astah_SysMLRequirements- Internal Block Diagram
- Block Definition Diagram
- Requirement Diagram
- Requirement Table
- Parametric Diagram
- UseCase Diagram
- Activity Diagram
- Statemachine Diagram
- Sequence Diagram and Mind Map

Since version 1.1, API is available so that you can extend Astah SysML’s functionalities by creating your own Plugin to achieve your specific needs. Read Astah SysML 1.1 Release Note

Get your Free Trial
For learning SysML, comparing with other tools or any of your purpose, you can try out Astah SysML for free for 50 days from here or click the button below!
AstahSysML_FreeDownload

Waiting for your feedback
Please let us know what you think about Astah SysML, and feature requests. We’d like to improve our tool by incorporating all of your feedback.

Thanks,
SJ

Posted in Mindmap, News, SysML | Tagged , | Leave a comment

Astah Share 2.8 Released – Upload & View diagrams on the web browser

We are happy to announce that our free communication tool, Astah Share‘s latest version is now out which is compatible with Astah files created in Astah Professional/Community version 6.8.

Astah Share Sample

Astah Share

Commenting_Astah

Commenting Feature

Astah Share is a simple communication tool that enables you to upload Astah files created with Astah Professional or Astah Community on the web and anyone can view the diagrams on the web browser. Its SNS like commenting features and permanent links will help you communicate and review models with team easier. Your clients or reviewers no longer need to install Astah to view diagrams. Instead, all you do is upload the file on the web and give them a link to it. They don’t need to write out the review result in emails. Instead, they can directly comment on the diagrams.

Astah_Demo_SiteAstah Share is completely free to use.
Experience demo site to see how it easily works!

You can find all the information and download links of Astah Share from here.

Cheers,
SJ

Posted in News, Share | Tagged , , | 3 Comments