# D3 Graphviz Theme Component

**URL:** https://meta.discourse.org/t/d3-graphviz-theme-component/153031
**Category:** Theme component
**Created:** [May 27, 2020, 9:57pm UTC](https://meta.discourse.org/t/d3-graphviz-theme-component/153031 "2020-05-27T21:57:27Z")
**Posts on this page:** 1
**Showing post:** 6

<div class="post-metadata">

### Author: ![Arkshine](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/arkshine/32/298682_2.png) [@Arkshine](https://meta.discourse.org/u/Arkshine)
#### Post date: [April 27, 2024, 11:55pm UTC](https://meta.discourse.org/t/d3-graphviz-theme-component/153031/6 "2024-04-27T23:55:21Z")

</div>

Did you try the plugin instead? It seems more stable.

> [@Discourse Graphviz](https://meta.discourse.org/t/graphviz-plugin/97554):
>
> discourse2Summary Discourse Graphviz provides the ability to add graphs to posts using the DOT language.open_bookInstall Guide This plugin is bundled with Discourse core. There is no need to install the plugin separately. Features This plugin uses the [Viz.js](https://github.com/mdaines/viz.js) library to render graphs. To embed a graph use [graphviz] [/graphviz] bbcode. Optionally you can define layout engine attributes: [graphviz engine=neato]. If engine is not defined, it defaults to the dot engine…

> [@fbpbdmin](#):
>
> this is caused by “Content Security Policy” thing…  
> not sure what to add in “content security policy script src” setting to make it work… could someone help, thanks…

You probably need to allow these links:

> <https://github.com/magjac/discourse-d3-graphviz/blob/master/common/head_tag.html>

---

_[View the full topic](https://meta.discourse.org/t/d3-graphviz-theme-component/153031)._
