BN Editor Double-click: new node · Drag a node's handle: new arc · Del: delete Full screen ↗

Export

PNG and SVG pictures show the canvas as it is now, including each node's probabilities and the evidence when Probabilities is on. They contain the code above, so Import can open them again.

Embed network

Paste the HTML below into your web page. The viewer fills the available width.

Shows an image immediately and keeps it if the app fails. Requires scripts on the host page.

Import pyAgrum code

Paste Python that builds a gum.BayesNet or calls gum.fastBN, or open a .py file, a Jupyter notebook, or a PNG or SVG exported from this editor. The code runs in a sandboxed Python interpreter inside this page; plotting and inference calls are ignored. Evidence saved by this editor's export is restored.

Publish to GitHub Gist

This creates a new secret gist on your GitHub account containing this network's pyAgrum code, with its layout and evidence, and gives you a short link that opens it in the editor.

Secret gists are unlisted, not private. They don't appear on your profile or in search, but anyone with the link can open this one, and it shows your GitHub username. The link is a snapshot: later edits here won't change it. You can delete the gist on GitHub at any time.

GitHub will ask you to let this editor create gists. GitHub has no narrower permission, so it also allows editing and deleting your other gists; the editor only creates this one. The sign-in is kept in this tab's memory, forgotten when you reload or close it, and stops working on GitHub after 8 hours.