add node caption hide on hidden
Merge pull request #504 from mirubenstein/api

add node caption hide on hidden