def get_internal_call_graph(fpath, with_doctests=False):
    """
    CommandLine:
        python -m utool.util_inspect get_internal_call_graph --show --modpath=~/code/ibeis/ibeis/init/main_helpers.py --show
        python -m utool.util_inspect get_internal_call_graph --show --modpath=~/code/dtool/dtool/depcache_table.py --show

    Example:
        >>> # DISABLE_DOCTEST
        >>> from utool.util_inspect import *  # NOQA
        >>> import utool as ut
        >>> fpath = ut.get_argval('--modpath', default='.')
        >>> with_doctests = ut.get_argflag('--with_doctests')
        >>> G = get_internal_call_graph(fpath, with_doctests)
        >>> ut.quit_if_noshow()
        >>> import plottool as pt
        >>> pt.qt4ensure()
        >>> pt.show_nx(G, fontsize=8, as_directed=False)
        >>> z = pt.zoom_factory()
        >>> p = pt.pan_factory()
        >>> ut.show_if_requested()
    """
    import utool as ut
    fpath = ut.truepath(fpath)
    sourcecode = ut.readfrom(fpath)
    self = ut.BaronWraper(sourcecode)
    G = self.internal_call_graph(with_doctests=with_doctests)
    return G