Divide index.diograph to context.json and diograph.json