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
subroutine test_get_component()type(ConcreteComposite)::compositetype(NamedComponent)::componentclass(AbstractFrameworkComponent),pointer::component_ptrcomponent%name='foo'composite=ConcreteComposite(component)component_ptr=>composite%get_component()select type(component_ptr)type is(NamedComponent)@assert_that(component_ptr%name,is('foo'))class default@assert_that('incorrect type',.true.,is(false()))end select end subroutine test_get_component