# Can Dgraph's ratel ui be embedded during development?

**URL:** <https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461>\
**Category:** Dgraph\
**Tags:** ratel\
**Created:** [August 14, 2020, 12:58pm UTC](https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461 "2020-08-14T12:58:30Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![tss](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tss/32/4409_2.png) [@tss](https://discuss.dgraph.io/u/tss)\
**Post date:** [August 14, 2020, 12:58pm UTC](https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461/1 "2020-08-14T12:58:30Z")

</div>

Can Dgraph’s visual interface be embedded during development?

---

<div class="post-metadata">

**Author:** ![abhimanyusinghgaur](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/abhimanyusinghgaur/32/2980_2.png) [@abhimanyusinghgaur](https://discuss.dgraph.io/u/abhimanyusinghgaur)\
**Post date:** [August 14, 2020, 4:48pm UTC](https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461/2 "2020-08-14T16:48:53Z")

</div>

Could you elaborate on how and where do you want to embed it? The platform on which you will be using it?

---

<div class="post-metadata">

**Author:** ![tss](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/tss/32/4409_2.png) [@tss](https://discuss.dgraph.io/u/tss)\
**Post date:** [August 16, 2020, 6:26am UTC](https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461/7 "2020-08-16T06:26:51Z")

</div>

On my website，i want to use the visualization of nodes and their relationships

---

<div class="post-metadata">

**Author:** ![abhimanyusinghgaur](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/abhimanyusinghgaur/32/2980_2.png) [@abhimanyusinghgaur](https://discuss.dgraph.io/u/abhimanyusinghgaur)\
**Post date:** [August 17, 2020, 1:11pm UTC](https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461/8 "2020-08-17T13:11:04Z")

</div>

You should be able to take the client code from [Ratel repo](https://github.com/dgraph-io/ratel) and tweak it as per your needs to fit in your website.

@paulftw can guide you more on this.

---

<div class="post-metadata">

**Author:** ![BlankRain](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/blankrain/32/1592_2.png) [@BlankRain](https://discuss.dgraph.io/u/BlankRain)\
**Post date:** [August 20, 2020, 1:48am UTC](https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461/9 "2020-08-20T01:48:31Z")

</div>

d3 ?

---

<div class="post-metadata">

**Author:** ![paulftw](https://yyz1.discourse-cdn.com/flex007/user_avatar/discuss.dgraph.io/paulftw/32/1569_2.png) [@paulftw](https://discuss.dgraph.io/u/paulftw)\
**Post date:** [August 20, 2020, 11:50am UTC](https://discuss.dgraph.io/t/can-dgraphs-ratel-ui-be-embedded-during-development/9461/10 "2020-08-20T11:50:10Z")

</div>

As @abhimanyusinghgaur has pointed out, Ratel code is licensed under the Apache License, Version 2.0 and hosted in a public github repo.

For graph rendering you’ll most likely need only two pieces: parse the JSON response with a [GraphParser](https://github.com/dgraph-io/ratel/blob/3bd6d62e20e5aa88c9e125a8fcea7aa23501c714/client/src/lib/graph.js#L85) and render the parsed graph using the [D3Graph](https://github.com/dgraph-io/ratel/blob/master/client/src/components/D3Graph/index.js) component.
