Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 559 Bytes

File metadata and controls

24 lines (15 loc) · 559 Bytes

Dynamic graph renderer for tallbags

Proof of concept

Use this sink as a replacement for forEach, and it will automatically dump a graph visualization on the DOM that updates as the tallbag chain delivers data. Hacky implementation.

Example use

Try it out in a CodeSandbox

const forEach = require('tallbag-for-each-poc-dynamic-graph');

pipe(
  combine(interval(1000), interval(1500)),
  map(([x, y]) => `a${x} b${y}`),
  take(5),
  forEach(console.log)
);

screenshot