constant.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.theme = exports.UserTaskConfig = exports.ServiceTaskConfig = exports.ExclusiveGatewayConfig = exports.EndEventConfig = exports.StartEventConfig = void 0;
  4. exports.StartEventConfig = {
  5. width: 40,
  6. height: 40,
  7. };
  8. exports.EndEventConfig = {
  9. width: 40,
  10. height: 40,
  11. };
  12. exports.ExclusiveGatewayConfig = {
  13. width: 40,
  14. height: 40,
  15. };
  16. exports.ServiceTaskConfig = {
  17. width: 100,
  18. height: 80,
  19. };
  20. exports.UserTaskConfig = {
  21. width: 100,
  22. height: 80,
  23. };
  24. exports.theme = {
  25. rect: {
  26. radius: 5,
  27. stroke: 'rgb(24, 125, 255)',
  28. },
  29. circle: {
  30. r: 18,
  31. stroke: 'rgb(24, 125, 255)',
  32. },
  33. polygon: {
  34. stroke: 'rgb(24, 125, 255)',
  35. },
  36. polyline: {
  37. stroke: 'rgb(24, 125, 255)',
  38. hoverStroke: 'rgb(24, 125, 255)',
  39. selectedStroke: 'rgb(24, 125, 255)',
  40. },
  41. edgeText: {
  42. background: {
  43. fill: 'white',
  44. height: 14,
  45. stroke: 'transparent',
  46. radius: 3,
  47. },
  48. },
  49. };