SYNTAX
------

C Syntax
^^^^^^^^

.. code-block:: c

    int MPI_Graph_get(MPI_Comm comm, int maxindex, int maxedges, int
        index[], int edges[])

Fortran Syntax
^^^^^^^^^^^^^^

.. code-block:: fortran

    USE MPI
    ! or the older form: INCLUDE 'mpif.h'
    MPI_GRAPH_GET(COMM, MAXINDEX, MAXEDGES, INDEX, EDGES, IERROR)
    	INTEGER COMM, MAXINDEX, MAXEDGES, INDEX(*), EDGES(*), IERROR

Fortran 2008 Syntax
^^^^^^^^^^^^^^^^^^^

.. code-block:: fortran

    USE mpi_f08
    MPI_Graph_get(comm, maxindex, maxedges, index, edges, ierror)
    	TYPE(MPI_Comm), INTENT(IN) :: comm
    	INTEGER, INTENT(IN) :: maxindex, maxedges
    	INTEGER, INTENT(OUT) :: index(maxindex), edges(maxedges)
    	INTEGER, OPTIONAL, INTENT(OUT) :: ierror
