The netvis format is just a sequence of objects that together describe the network and history. These can be the same file, or different files (e.g. multiple event histories over the same network).
The aim of this format is to intermediate between network visualization tools, and the network protocols themselves. Processes running the protocol produce events in this format (either stored to log files or emitted via rpc). The visualization tools consume these events and playback the protocol. The aim is for this to be useful for both algorithmic network analysis, and -- primarily -- for visual, human analysis.
Before getting into the format, this terminology will help communicate ideas.
event
a network event, the building block of history.history
a sequence of events, usually pertaining to one protocol, but possibly containing multiple.producer
a process that emits (records or transmits) eventslog
(ortrace
) a file storing an in-order sequence of events
network
a system of connected entitiesnode
an individual object in the networkmessage
information unit sent from one node, to another
id
identifier for the node.type
the (protocol specific) type for the nodeaddresses
a list of addresses the node hasstate
opaque state for the nodeenterTime
the (network) time at which the node enteredexitTime
the (network) time at which the node exitedmessagesSent
the number of messages sentmessagesReceived
the number of messages received
sourceNode
the node from which a message travelsdestinationNode
the node to which a message travelsdepartureTime
the (network) time at which a message departed its sourcearrivalTime
the (network) time at which it arrived at its destinationprotocol
an identifier that describes the protocol the message belongs totype
an identifier that describes the kind of message (protocol-specific)size
the size of the message (in bytes)contents
the actual state of the message
messageSent node msg
- a message is emitted from a nodemessageReceived node msg
- a message is received by a nodemessageDropped node msg
- a message is explicitly dropped by a node as opposed to having been dropped in the network in between (fading)nodeEntered
- a node entered the network (about to send messages)nodeExited
- a node exited the network (no more messages)nodeDialed addr
- a node dialed another nodenodeAccepted addr
- a node accepted another's dialnodeConnected addr
- a node connected to another nodenodeDisconnected addr
- a node disconnected from another nodenodeStateChange diff
- a change of internal state in a node
simulator
a process which consumes ahistory
and simulates a network and its eventsvisualization
an animation of a network and/or a history ocurring over time.netvis
this formatlive node
a process running a program implementing the protocol (often a producer)