Need help with SequencePlugin?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

Vanco
314 Stars 77 Forks Other 66 Commits 9 Opened issues

Description

SequencePlugin for IntelliJ IDEA

Services available

!
?

Need anything else?

Contributors list

# 192,391
Java
intelli...
sequenc...
38 commits
# 1,590
centos
concurr...
jvm
java8
1 commit
# 125,564
Kotlin
opencl
webasse...
jvm-byt...
1 commit

SequenceDiagram

SequenceDiagram for IntelliJ IDEA http://vanco.github.io/SequencePlugin.

with this plugin, you can + generate Simple Sequence Diagram. + Navigate the code by click the diagram shape. + Delete Class from diagram. + Export the diagram as image. + Export the diagram as PlantUML file. + Exclude classes from diagram by Settings > Tools > Sequence Diagram + Smart Interface(experimental) + Lambda Expression(experimental) <!-- Plugin description end -->

Experimental features

The experimental features are created by myself, which is not part of UML standard. Use this feature in your own risk.

Smart Interface

Find the implementation of the interface smartly. e.g. ```java public interface Fruit { int eat(); }

public class Apple implements Fruit { @Override public int eat() { return 5; } }

`Apple` implemented the `Fruit` interface. When we generate sequence diagram for the `eatFruit` method:
java public class People {
private Fruit fruit = new Apple();

public void eatFruit() { fruit.eat(); }

} ``

I draw dummy
implementation call` in dash line.

Smart Interface

For the interface or abstract class, if there is only one implementation found, it will draw in diagram automatically. More than one implementations, you need to choose one to draw. this is an option in settings.

Lambda Expression

No standard for the lambda expression in the sequence diagram yet. So I create mine. e.g. ```java public interface Service {

String invoke(Int a);

}

And I need draw the sequence diagram for `hello` method:
java public class Lambda {
public Service hello() {
    return a -> {
        Fruit fruit = new Apple();
        fruit.eat();
        return "I'm good!";
    };
}

} ``

I draw a dummy
λ→` self call in diagram.

Lambda Expression

How to use

SequenceDiagram ONLY generate sequence diagram for the CURRENT method of JAVA file in the editor.

When installed, where to find it?

  1. Open a JAVA file in editor.
  2. Navigate to one Method, which you want to generate sequence diagram. Place the caret inside Method name, (See the screenshot bellow)
  3. From the
    Tools
    >
    Sequence Diagram...
    menu.

Tools Menu

Context Menu

Place the caret inside the method name, trigger it from

Tools
menu or
context
menu >
Sequence Diagram...

Version History

Current Verison 2.0

versions: Changelog

Download Chart

141,000+ unique Downloads since 1.x version released April 2016.

SequenceDiagram downloads

Acknowledgement

Name history

  • SequencePlugin Maintained by Kentaur(Kesh Sibilev, [email protected]) until 2011
  • SequencePluginReload Maintained by Vanhg(Evan Fan, [email protected]) 2011 - 2015
  • SequenceDiagram Maintained by Vanco(Evan Fan, [email protected]) since 2016 new{:height="32px" width="32px"}

Why change name?

Since 2011, I found a solution of NPE of original SequencePlugin, so I write email to Kentaur with my solution, He said he was not coding any more. Instead, he send me the code. I fix the NPE issue and publish to plugin repository with new name SequencePluginReload.

But in 2015, the IntelliJ change the login system, and I lost my account, cannot continue publish new version to the repository.

In 2016, I change the Name again to SequenceDiagram and host the source code on github. Now it open source.

Thanks Kentaur for the great work on the original source.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.