Visgraph bug fix - type return
Merge branch 'functions'