# Graph Relations not displayed

**URL:** <https://discuss.elastic.co/t/graph-relations-not-displayed/266775>\
**Category:** Kibana\
**Created:** [March 10, 2021, 8:16am UTC](https://discuss.elastic.co/t/graph-relations-not-displayed/266775 "2021-03-10T08:16:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pruthvi\_Raj\_Venkates](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pruthvi_raj_venkates/32/85222_2.png) [@Pruthvi\_Raj\_Venkates](https://discuss.elastic.co/u/Pruthvi_Raj_Venkates)\
**Post date:** [March 10, 2021, 8:16am UTC](https://discuss.elastic.co/t/graph-relations-not-displayed/266775/1 "2021-03-10T08:16:22Z")

</div>

Hi Team,

I have installed Elastic Search elasticsearch-7.11.1 and Kibana on Windows 10 machine. I was exploring graph functionality using a Trial license wherein I am trying to view the relationships among the different nodes. I have loaded an index with the following sample data which has just two attributes "Source" and "Destination" and trying to plot it on a graph.

When I try accessing the URL [http://localhost:5601/app/graph](http://localhost:5601/app/graph) and visualize the index there is a connection shown only between Source and Destination1 even though there should have been a connection between Source and Destinatio 2 and Destination 4.

Noticed that if the number of records with a specific relationship is more than 4 then only graph showing the relation.

 ![KibanaGraph](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8da4a96d14f06246b8f4e7af4392d3614299add.jpeg)

Could you please explain why there are no connections shown for the other nodes?

```auto
{
  "took" : 42,
  "timed_out" : false,
  "_shards" : {
    "total" : 1,
    "successful" : 1,
    "skipped" : 0,
    "failed" : 0
  },
  "hits" : {
    "total" : {
      "value" : 7,
      "relation" : "eq"
    },
    "max_score" : 1.0,
    "hits" : [
      {
        "_index" : "policies3",
        "_type" : "_doc",
        "_id" : "1",
        "_score" : 1.0,
        "_source" : {
          "Source" : "Source",
          "Destination" : "Destination 1"
        }
      },
      {
        "_index" : "policies3",
        "_type" : "_doc",
        "_id" : "2",
        "_score" : 1.0,
        "_source" : {
          "Source" : "Source",
          "Destination" : "Destination 4"
        }
      },
      {
        "_index" : "policies3",
        "_type" : "_doc",
        "_id" : "3",
        "_score" : 1.0,
        "_source" : {
          "Source" : "Source",
          "Destination" : "Destination 1"
        }
      },
      {
        "_index" : "policies3",
        "_type" : "_doc",
        "_id" : "5",
        "_score" : 1.0,
        "_source" : {
          "Source" : "Source",
          "Destination" : "Destination 1"
        }
      },
      {
        "_index" : "policies3",
        "_type" : "_doc",
        "_id" : "7",
        "_score" : 1.0,
        "_source" : {
          "Source" : "Source",
          "Destination" : "Destination 1"
        }
      },
      {
        "_index" : "policies3",
        "_type" : "_doc",
        "_id" : "6",
        "_score" : 1.0,
        "_source" : {
          "Source" : "Source",
          "Destination" : "Destination 2"
        }
      },
      {
        "_index" : "policies3",
        "_type" : "_doc",
        "_id" : "8",
        "_score" : 1.0,
        "_source" : {
          "Source" : "Source",
          "Destination" : "Destination 2"
        }
      }
    ]
  }
}

```

---

<div class="post-metadata">

**Author:** ![Dzmitry](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dzmitry/32/65026_2.png) [@Dzmitry](https://discuss.elastic.co/u/Dzmitry)\
**Post date:** [March 10, 2021, 10:15am UTC](https://discuss.elastic.co/t/graph-relations-not-displayed/266775/2 "2021-03-10T10:15:50Z")

</div>

Hi @Pruthvi_Raj_Venkates

Welcome to Elastic Community!

I can suggest reading [Graph intro](https://www.elastic.co/guide/en/kibana/current/xpack-graph.html) in order to better understand how you can use it and how it works. Then you can double check that you created graph properly following the [guide](https://www.elastic.co/guide/en/kibana/current/graph-getting-started.html)

It might be easier to play around with existing graph coming with [Kibana sample data](https://www.elastic.co/guide/en/kibana/7.11/get-started.html#gs-get-data-into-kibana), its ecommerce one:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/e/7/e773922f81e31dbe6cfea3abe4feef0af25baf1e.png)

If your own graph still not working, please provide your data set sample and search query you are using.

Regards, Dzmitry

---

<div class="post-metadata">

**Author:** ![Pruthvi\_Raj\_Venkates](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/pruthvi_raj_venkates/32/85222_2.png) [@Pruthvi\_Raj\_Venkates](https://discuss.elastic.co/u/Pruthvi_Raj_Venkates)\
**Post date:** [March 11, 2021, 10:27am UTC](https://discuss.elastic.co/t/graph-relations-not-displayed/266775/3 "2021-03-11T10:27:26Z")

</div>

Many Thanks @Dzmitry , I am able to display the graph now. The issue was that "Certainty - The minimum number of documents before introducing a related term." was not set in the graph settings page. After setting it to 1 the graph is now visible with the relations.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [April 8, 2021, 10:27am UTC](https://discuss.elastic.co/t/graph-relations-not-displayed/266775/4 "2021-04-08T10:27:40Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
