Skip to content

Implementation of UML diagram Application using Java and Implementation of Graphic User Interface using JavaFX.

License

Notifications You must be signed in to change notification settings

Amir-Shamsi/code-generator-and-uml-diagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Generator And UML Diagram

Java version BSD Licence Follow me Project Initiator Repo Size

This application allows drawing of UML diagrams in graphic user interface and generating the code in Java or Cpp. It supports:

  • Classes
  • Methods
  • Arguments

Draw UML Graph

It's easy to draw a uml graph based on what you need only by dragging class or method or Arg into the board.

Code Generating

Here is the output code of the example graph in Java

abstract class FooParent
{
    abstract void printFoo();
}

class Earth
{
    public int water;
}

class Mars
{
    public float co2;
}

class Jupiter
{
    public String water;
}

class Robot
{
    void walk(int a, int b)
    {
    }
}

public class Foo extends FooParent
{
    public static float calculateFoo(int fooNum)
    {
    }
    public void printFoo()
    {
    }
}

class flower extends Earth
{
    public String color;
}

class Tree extends Earth
{
}

Installation

  1. Clone the repo

    git clone https://github.com/Amir-Shamsi/code-generator-and-uml-diagram.git
  2. Install the dependencies from pom.xml

  3. Enjoy!

About

Implementation of UML diagram Application using Java and Implementation of Graphic User Interface using JavaFX.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages