p2p-graph
p2p-graph copied to clipboard
Real-time P2P network visualization with D3
https://github.com/feross/p2p-graph/blob/3334451e147e77778200412f553f2cd1277a2750/index.js#L261 When calling `destroy()`, the `Element` where the graph is being applied is removed from the DOM. Since this element is not created and managed by `p2p-graph` but instead provided...
While removing peer connections to other peers remain (just lines to empty space). This patch removes all peers (from and to) connections on peers remove.
Hello, In the example of this page (https://github.com/feross/p2p-graph/blob/master/example/index.html) it shows a simple example of P2P (not realtime P2P network as README shows: "Real-time P2P network"), but how to show this...
see https://www.typescriptlang.org/docs/handbook/declaration-files/publishing.html
This allows the graph to be set to a custom value