add graph to osgi