added graph preview for nodes