misc: Add relative uri option to open gmf diagram api