added support for TUNGraph, TNGraph