fix #4 add a graph by party