add type of node to dot graphs with objects
add logging
fix class name
start to address #393