Skip to content

API reference / Common / Engine types / ShapeGraphicData

Type Alias: ShapeGraphicData ​

ts
type ShapeGraphicData = 
  | {
  table: Table;
}
  | {
  chart: ChartSpaceId;
}
  | {
  chartEx: ChartExSpaceId;
}
  | {
  diagram: Diagram;
}
  | {
  oleObject: ShapeOleObject;
}
  | {
  other: {
     uri: string;
  };
};

What a frame hosts (a:graphicData), dispatched by its @uri.

The @uri is not stored: it is the variant, re-emitted from it on save, and Other keeps the one it could not classify. Payload kinds promote out of Other as their sub-domains land.