title: How to process network flow information in Python to display communicating nodes?
body: <p>I'm trying to understand how best to visualise network flows that I have collected via PacketBeat in JSON to a diagram and require some advice and recommendations.</p>
  <p>The reason for doing so is to provide an easy way of highlighting what devices on my network are talking to other devices etc.</p>
  <p>My thoughts so far are to process the PacketBeat JSON in order to create a list of unique network nodes as well as a separate list of tuples in a format such as (source, destination, destination_port) to record who talks to who.</p>
  <p>I'm unsure whether the above is the best way to proceed if I was to look at generating the graph with something like the &quot;graphviz&quot; Python library?</p>
  <p>I'd appreciate any recommendations.</p>