Wednesday, 12 January 2011

Sequence Diagram Editor

Yesterday I found very interesting sequence diagram editor: http://sdedit.sourceforge.net/
It's free, it's small and easy to use (it has quite specific interface, but for me, it's easy to use!)


It has own language for diagram definition and provides very nice pictures (actually it draws diagrams on given definition).


For example, it uses this script:


bfs:BFS[a]
/queue:FIFO
someNode:Node
node:Node
adjList:List
adj:Node

bfs:queue.new
bfs:someNode.setLevel(0)
bfs:queue.insert(someNode)
[c:loop while queue != ()]
  bfs:node=queue.remove()
  bfs:level=node.getLevel()
  bfs:adjList=node.getAdjacentNodes()
  [c:loop 0 <= i < #adjList]
    bfs:adj=adjList.get(i)
    bfs:nodeLevel=adj.getLevel()
    [c:alt nodeLevel IS NOT defined]
      bfs:adj.setLevel(level+1)
      bfs:queue.insert(adj)
      --[else]
      bfs:nothing to do
    [/c]
  [/c]
[/c]
bfs:queue.destroy() 
and generates this diagram:

In my opinion it looks perfect!

Monday, 3 January 2011

Back home

Now I'm home. Yesterday I got back home.
Here is my itinerary:

View Larger Map