graphpolo.js

CreatePanel(number, ip)

Creates a panel that displays the information about a node

Arguments:
  • number (int) – An identificatory number
  • ip (str) – The ip of the node, necessary to create the WebSocket connection
getNodes()

Gets all the nodes and initializes the panels