Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Where possible, edges connecting nodes are
given different colours to make them easier to distinguish in
large graphs.
Source Code
function replace_delimiter(string,delimiter,replacement)result(replaced)character(len=:),allocatable::replacedcharacter(len=*),intent(in)::stringcharacter(len=*),optional,intent(in)::delimitercharacter(len=*),optional,intent(in)::replacementcharacter(len=:),allocatable::del,repinteger::ireplaced=stringif(len(string)==0)returndel='.'if(present(delimiter))del=delimiterif(len(del)==0)returnrep='/'if(present(replacement))rep=replacementif(len(rep)==0)returni=index(replaced,del)if(i>0)replaced=replaced(:(i-1))//rep//replaced((i+len(del)):)end function replace_delimiter