add graph panel and graph node with stylesheet