> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kinetica.com/llms.txt
> Use this file to discover all available pages before exploring further.

# showGraph

<div className="kinetica-doxygen">
  <div id="aa26104ece9a4825f8fd309470e2477ec" />

  <h2 className="memtitle"><span className="permalink"><a href="#aa26104ece9a4825f8fd309470e2477ec">◆ </a></span>showGraph() <span className="overload">\[1/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">ShowGraphResponse</a> gpudb::GPUdb::showGraph </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphRequest">ShowGraphRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span></td>
          <td>)</td>
          <td> const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information and characteristics of graphs that exist on the graph server. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphRequest">Request</a> object containing the parameters for the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="afde5e9ee7e8f46468385d65999027797" />

  <h2 className="memtitle"><span className="permalink"><a href="#afde5e9ee7e8f46468385d65999027797">◆ </a></span>showGraph() <span className="overload">\[2/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">ShowGraphResponse</a> & gpudb::GPUdb::showGraph </td>
          <td>(</td>
          <td className="paramtype">const <a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphRequest">ShowGraphRequest</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">request\_</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">ShowGraphResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information and characteristics of graphs that exist on the graph server. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">request\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphRequest">Request</a> object containing the parameters for the operation. </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>

  <div id="a9debdae46b9cb8ce19f782d73a958c51" />

  <h2 className="memtitle"><span className="permalink"><a href="#a9debdae46b9cb8ce19f782d73a958c51">◆ </a></span>showGraph() <span className="overload">\[3/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">ShowGraphResponse</a> gpudb::GPUdb::showGraph </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">graphName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information and characteristics of graphs that exist on the graph server. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">graphName</td>
              <td>Name of the graph on which to retrieve information. If left as the default value, information about all graphs is returned. The default value is ''. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a3bb68b1028a864565f1ce5919de172f4">show\_graph\_show\_original\_request</a>: If set to <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">true</a>, the request that was originally used to create the graph is also returned as JSON. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">show\_graph\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a592bbf5af85bb488e6cad6647134bcdb">show\_graph\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">show\_graph\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3814a4ae4f1f583d62e4f013824e7e07">show\_graph\_server\_id</a>: Indicates which graph server(s) to send the request to. Default is to send to get information about all the servers. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#aab789724b8c8e65eecbf3c6bab42d8a6">show\_graph\_export\_graph\_schema</a>: If true, generates the graph ontology (schema) as a DOT format string in the response info field under the key 'dot'. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">show\_graph\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a592bbf5af85bb488e6cad6647134bcdb">show\_graph\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a592bbf5af85bb488e6cad6647134bcdb">show\_graph\_false</a>.
                  </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">Response</a> object containing the result of the operation. </div>
      </div>
    </div>
  </div>

  <div id="a88e042d9704eae6dae407957f0cf43b2" />

  <h2 className="memtitle"><span className="permalink"><a href="#a88e042d9704eae6dae407957f0cf43b2">◆ </a></span>showGraph() <span className="overload">\[4/4]</span></h2>

  <div className="memitem">
    <div className="memproto">
      <table className="memname">
        <tr>
          <td className="memname"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">ShowGraphResponse</a> & gpudb::GPUdb::showGraph </td>
          <td>(</td>
          <td className="paramtype">const std::string &</td>
          <td className="paramname"><span className="paramname"><span className="em">graphName</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype">const std::map\< std::string, std::string > &</td>
          <td className="paramname"><span className="paramname"><span className="em">options</span></span>, </td>
        </tr>

        <tr>
          <td className="paramkey" />

          <td />

          <td className="paramtype"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">ShowGraphResponse</a> &</td>
          <td className="paramname"><span className="paramname"><span className="em">response\_</span></span> ) const</td>
        </tr>
      </table>
    </div>

    <div className="memdoc">
      <p>Shows information and characteristics of graphs that exist on the graph server. </p>

      <div className="dl params">
        <div className="dt">Parameters</div>

        <div className="dd">
          <table className="params">
            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">graphName</td>
              <td>Name of the graph on which to retrieve information. If left as the default value, information about all graphs is returned. The default value is ''. </td>
            </tr>

            <tr>
              <td className="paramdir">\[in]</td>
              <td className="paramname">options</td>

              <td>
                Optional parameters.

                <ul>
                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#a3bb68b1028a864565f1ce5919de172f4">show\_graph\_show\_original\_request</a>: If set to <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">true</a>, the request that was originally used to create the graph is also returned as JSON. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">show\_graph\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a592bbf5af85bb488e6cad6647134bcdb">show\_graph\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">show\_graph\_true</a>.
                  </li>

                  <li> <a className="el" href="/content/api/cpp/namespacegpudb#a3814a4ae4f1f583d62e4f013824e7e07">show\_graph\_server\_id</a>: Indicates which graph server(s) to send the request to. Default is to send to get information about all the servers. </li>

                  <li>
                    <a className="el" href="/content/api/cpp/namespacegpudb#aab789724b8c8e65eecbf3c6bab42d8a6">show\_graph\_export\_graph\_schema</a>: If true, generates the graph ontology (schema) as a DOT format string in the response info field under the key 'dot'. Supported values:

                    <ul>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a26a3b0bf712e67e2e00990e225e367f2">show\_graph\_true</a> </li>
                      <li> <a className="el" href="/content/api/cpp/namespacegpudb#a592bbf5af85bb488e6cad6647134bcdb">show\_graph\_false</a> </li>
                    </ul>

                    The default value is <a className="el" href="/content/api/cpp/namespacegpudb#a592bbf5af85bb488e6cad6647134bcdb">show\_graph\_false</a>.
                  </li>
                </ul>

                The default value is an empty map.
              </td>
            </tr>

            <tr>
              <td className="paramdir">\[out]</td>
              <td className="paramname">response\_</td>
              <td><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">Response</a> object containing the results of the operation.</td>
            </tr>
          </table>
        </div>
      </div>

      <div className="dl section return">
        <div className="dt">Returns</div>
        <div className="dd"><a className="el" href="/content/api/cpp/structgpudb_1_1ShowGraphResponse">Response</a> object containing the result of the operation (initially passed in by reference). </div>
      </div>
    </div>
  </div>
</div>
