June 19, 2011

Graphical notation for Erlang processes

Hi,


Reading Maurice Castro "Towards an Event Modeling Language" ..
I remembered that Umlet has custom components but it was flexible enough to accommodate for Maurice's notation.

I brushed new Palette for Erlang process notation:
- Process definition with StartUp, ProcessLife and Interfaces
- Incarnation with and without link
-Synchronous and Asynchronous message passing 

It doesn't look close to original but feels more modern to me.


  9
  
    com.umlet.element.Class
    
      27
      90
      189
      162
    
    <<gen_server>>
X::erst
{T < 10 min}
--
{M,F,A}
_S=#state{val, another}_
--
/mod:start/0/
/mod:stop/1/
--
Responsibilities
- Coordinator
    
  
  
    com.umlet.element.Relation
    
      18
      234
      170
      63
    
    lt=.>
spawn
    27;45;153;45
  
  
    com.umlet.element.Relation
    
      18
      261
      170
      63
    
    lt=<x.>>>>>
spawn link
m2=1..n

    27;45;153;45
  
  
    com.umlet.element.Relation
    
      18
      306
      170
      63
    
    lt=<-
async msg
    27;45;153;45
  
  
    com.umlet.element.Relation
    
      18
      333
      170
      63
    
    lt=<<-
sync msg
    27;45;153;45
  
  
    com.umlet.element.Note
    
      9
      18
      279
      63
    
    - Process definition with StartUp, 
     ProcessLife and Interfaces
- Incarnation with and without link
- Synchronous and Asynchronous messages
fg=blue
    
  


No comments:

Post a Comment