DrilldownUtil.d.ts 737 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /**
  2. * Get primary shape ID for a plane.
  3. *
  4. * @param element
  5. *
  6. * @return
  7. */
  8. export function getShapeIdFromPlane(element: Element | ModdleElement): string;
  9. /**
  10. * Get plane ID for a primary shape.
  11. *
  12. * @param element
  13. *
  14. * @return
  15. */
  16. export function getPlaneIdFromShape(element: Element | ModdleElement): string;
  17. /**
  18. * Get plane ID for primary shape ID.
  19. *
  20. * @param id
  21. *
  22. * @return
  23. */
  24. export function toPlaneId(id: string): string;
  25. /**
  26. * Check wether element is plane.
  27. *
  28. * @param element
  29. *
  30. * @return
  31. */
  32. export function isPlane(element: Element | ModdleElement): boolean;
  33. export const planeSuffix: string;
  34. type Element = import('../model/Types').Element;
  35. type ModdleElement = import('../model/Types').ModdleElement;