Indiscernibility structures induced from function sets : Graph and digraph case