working with graphs
working shared-graph by category