Skip to content

Tutorials

Tutorials on different topics I have learned. The best way to know if you have learned something is when you can explain it to others, so this is what I do. Hope you enjoy them and find them useful!

GEF tutorials

Java

C#

JGraph

some things I learned while testing the java JGraph Graph Visualization and Layout library. Although the framework is simple to use, it lacks good editing capabilities, it is not well documented (codewise). After working with it a few days I decided to try the GEF framework instead.

JUNG

The Java Universal Network/Graph Framework, the first java graph framework I tested. Some things I learned.

C3.js

A D3-based reusable chart library (Javascript).

Azure Functions

Azure’s serverless execution platform.

Javascript

 

13 Comments

  1. karthick karthick

    In the objectprocessdiagrameditpart your figure is an freeform layer with setopaque set to false. My scenario here is i have two editparts one is the root with figure as freeformlayer and an child editpart which is also has an figure of freeformlayer . both has setopaque as false . the child figure does not extend to all four directions. it works only when child figures setbounds is given ?

    • admin admin

      My ObjectProcessDiagram figure does not define any opacity. Take a look at the code here. What are the contents of the child figure? if you only draw a freeformlayer you wont see it.. I don’t seem to understand what you are trying to do.

      • karthick karthick

        ya i have seen the tutorial . i have an figure with toolbarlayout containing two label as childrens . one displaying an icon and aother displaying text . when i perform direct edit on the label the label text is displayed like bbb…. beyound the bounds of the parent . i would like to increase the parent figure automatically as and when the child resizes

          • karthick karthick

            thanks a lot so much for your reply it worked and my container is able to resize accordingly

  2. karthick karthick

    I want to display any problems in the model in the problem view. Also when the user clicks on the problem view, it should select the particular EditPart (whose model caused the problem ) example => there should be no nodes in gef editor without any outgoing connnection then if u have an node which does not have any outgoing connections and u perform save action . the editor should display that there is no outgoing connection from the node and when clicked on the error in problems view then it should select the particular EditPart (whose model caused the problem )

    • admin admin

      Hi Karthick. I have not yet worked with the Problems view. From your questions you seem to be developing a complex application, so you should thoroughly read the eclipse plug-in documentation. If you find out things that are not listed in my tutorial I’ll be glad to know. Furthermore, you could open a blog where you can share this with others.

  3. JD JD

    I am working on a project that has very intensive visualizations and needs to be able to actively manipulate these visualizations. Is it possible to render 2D bar-charts and graphs using GEF or GEF3D?

    • admin admin

      Although I haven’t seen this, I’m pretty sure it can be done since graph2d is a very flexible tool. I heard of some using GEF to plot graphs of tens of thousands of points so I guess performance wise it will also work. I would be glad if you could share with me the results of any checks you do (even if you finish using another framework).

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.