This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph | |
{ | |
rankdir=LR; | |
I -> n; | |
n -> v; | |
v -> i; | |
i -> z; | |
I -> z; | |
i -> i; | |
v -> I |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function download(filenamePtr, dataPtr, size) { | |
const a = document.createElement('a') | |
a.style = 'display:none' | |
document.body.appendChild(a) | |
const view = new Uint8Array(Module.HEAPU8.buffer, dataPtr, size) | |
const blob = new Blob([view], { | |
type: 'octet/stream' | |
}) | |
const url = window.URL.createObjectURL(blob) | |
a.href = url |