Skip to content
/ msgflow Public

Tools to convert logs into text diagram (much like UML Interaction Diagrams).

Notifications You must be signed in to change notification settings

whunmr/msgflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

msgflow

msgflow is a tool to convert logs into text diagram (much like UML interaction diagram).

Usages: see test files for usage details.

Examples

[sys1] ---->   [sys2] 00001  MSG_0  0x00010002 0x00030004
[sys2] ---->   [sys3] 00002  MSG_1  0x00010002 0x00030004
[sys3] ---->   [sys1] 00003  MSG_2  0x00010002 0x00030004

into:

sys1   sys2   sys3   
  |----->|      |     MSG_0   [0x00010002 0x00030004]
  |      |----->|     MSG_1   [0x00010002 0x00030004]
  |<------------|     MSG_2   [0x00010002 0x00030004]

xxxxxxxxxxxx
[sys1] ---->   [sys2] 00001  MSG_0  0x00010002 0x00030004
yyyyyyyyyyyy
zzzzzzzzzzzz
[sys2] ---->   [sys3] 00002  MSG_1  0x00010002 0x00030004
[sys3] ---->   [sys1] 00003  MSG_2  0x00010002 0x00030004
kkkkkkkkkkkk

into

sys3   sys2   sys1   
  |      |<-----|     MSG_0   [1] [0x00010002 0x00030004]
  |<-----|      |     MSG_1   [2] [0x00010002 0x00030004]
  |------------>|     MSG_2   [3] [0x00010002 0x00030004]
[0] xxxxxxxxxxxx
[1] yyyyyyyyyyyy
[1] zzzzzzzzzzzz
[3] kkkkkkkkkkkk
ss3   kk3   zz1   qq1   qq2   kk1   bb1   aa1   ss1   
 |     |     |     |     |     |     |     |     *     MSG_0   [1] [0x00010002 0x00030004]
 |     |     |     |     |     |     |     |<----|     MSG_1   [2] [0x00010002 0x00030004]
 |     |     |     |     |     |     |     |---->|     MSG_2   [3] [0x00010002 0x00030004]
 |     |     |     |     |     |<----|     |     |     MSG_3   [4] [0x00010002 0x00030004]
 |     |     |     |     |     |---------------->|     MSG_4   [5] [0x00010002 0x00030004]
 |     |     |     |     |     |<----------------|     MSG_5   [6] [0x00010002 0x00030004]
 |     |     |     |     |     |     |     |<----|     MSG_6   [7] [0x00010002 0x00030004]
 |     |     |     |     |<----------------------|     MSG_7   [8] [0x00010002 0x00030004]
 |     |     |<----|     |     |     |     |     |     MSG_8   [9] [0x00010002 0x00030004]
 |     |     |---------------------------->|     |     MSG_9   [10] [0x00010002 0x00030004]
 |     |     |     |     |     |     |     |---->|     MSG_2   [11] [0x00010002 0x00030004]
 |     |<----------------------------|     |     |     MSG_3   [12] [0x00010002 0x00030004]
 |     |     |     |     |     |---------------->|     MSG_4   [13] [0x00010002 0x00030004]
 |     |<----------------------------------------|     MSG_5   [14] [0x00010002 0x00030004]
 |---------------------------------------->|     |     MSG_6   [15] [0x00010002 0x00030004]
 |---------------->|     |     |     |     |     |     MSG_7   [16] [0x00010002 0x00030004]
 |     |     |<----------------------------------|     MSG_8   [17] [0x00010002 0x00030004]
 |     |     |---------------------------------->|     MSG_9   [18] [0x00010002 0x00030004]

About

Tools to convert logs into text diagram (much like UML Interaction Diagrams).

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published