@peter.prib/renderengine 0.10.0 → 0.13.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (37) hide show
  1. package/README.md +10 -4
  2. package/dist/renderengine-workspace.umd.js +5779 -3731
  3. package/dist/renderengine.umd.js +5757 -3725
  4. package/documentation/REFERENCE.md +3291 -3077
  5. package/package.json +2 -2
  6. package/src/charting/Axis.js +47 -5
  7. package/src/charting/Chart.js +25 -0
  8. package/src/charting/ChartChooser.js +5 -4
  9. package/src/charting/DiagramEditor.js +239 -34
  10. package/src/charting/Legend.js +16 -0
  11. package/src/charting/ModelFileFormat.js +47 -0
  12. package/src/charting/archimate/ArchimateCanvasEditor.js +1108 -1012
  13. package/src/charting/archimate/deleteFromModel.js +57 -0
  14. package/src/charting/archimate/elementMenuItems.js +3 -1
  15. package/src/charting/archimate/heatMaps.js +169 -0
  16. package/src/charting/archimate/index.js +1 -0
  17. package/src/charting/charts/BarChart.js +5 -5
  18. package/src/charting/charts/BarChartBase.js +21 -3
  19. package/src/charting/charts/GroupedBarChart.js +42 -22
  20. package/src/charting/charts/LineChart.js +9 -8
  21. package/src/charting/charts/PieChart.js +2 -2
  22. package/src/charting/charts/TableChart.js +34 -5
  23. package/src/charting/diagrams/ArchimateModel.js +33 -0
  24. package/src/charting/diagrams/DeleteFromModelCommand.js +81 -0
  25. package/src/charting/diagrams/EdgeGeometry.js +16 -0
  26. package/src/charting/edgeStyle/EdgeStyleSchema.js +6 -2
  27. package/src/charting/pivot/PivotChart.js +50 -0
  28. package/src/charting/pivot/PivotGridChart.js +191 -0
  29. package/src/charting/pivot/PivotView.js +740 -0
  30. package/src/charting/table/TableView.js +84 -15
  31. package/src/charting/table/TableViewChart.js +5 -3
  32. package/src/charting/templates/Template.js +10 -0
  33. package/src/exportImage.js +45 -18
  34. package/src/index.js +2899 -2807
  35. package/src/workspace/parts/ArchimateCanvasPart.js +3 -0
  36. package/src/workspace/parts/DiagramEditorPart.js +2 -0
  37. package/src/workspace/parts/ModelHosted.js +15 -4
package/README.md CHANGED
@@ -67,6 +67,8 @@ other browsers download the file instead.
67
67
  each.
68
68
  - **Copy and paste** within a model and between models, **Duplicate**, and **Generate View For** an element and
69
69
  what it relates to.
70
+ - **Delete from model**, from the tree or a diagram, after a dialog listing the views it is on and the
71
+ relationships that go with it; one undo puts it all back.
70
72
  - **Several models open at once**, a tab each. Each has its own file and its own undo history.
71
73
  - **Undo for everything**, one history per model as in Archi: edits on any view, and adding, renaming and deleting
72
74
  views. Undoing an edit made on another view takes you to that view.
@@ -80,12 +82,14 @@ other browsers download the file instead.
80
82
  property to set on all of them.
81
83
  - **Format painter**: copy one shape's look onto others.
82
84
  - **Colour by** layer, type, specialization or any property (a heat map, e.g. by lifecycle: invest, maintain,
83
- retire), with a legend; or a legend of the element types on the view.
85
+ retire), by a formula over properties (`Cost * Risk_score`), or by the change work packages and deliverables make
86
+ (create, update, delete, boxes and lines), with a legend boxed round its entries; or a legend of the element types
87
+ on the view.
84
88
  - **Find and replace** across names, documentation and property values, with match case, whole words and
85
89
  regular expressions; **transform names** (Title Case, split camelCase, ...) and **rename a property** across the
86
90
  model; **fit a shape to its text**.
87
91
  - **Groups and locks on any view**, multi-select, a marquee, Archi's tabbed groups, bendpoints, pinned line ends,
88
- and orthogonal, curved or straight routing.
92
+ and orthogonal, curved or straight routing. Lines take the shortest way between shapes, as in Archi.
89
93
 
90
94
  ### Understanding and sharing a model
91
95
 
@@ -101,7 +105,8 @@ other browsers download the file instead.
101
105
  the months.
102
106
  - An **HTML report** in one self-contained file: a tree, search, a page per element, relationship and view, and
103
107
  diagrams whose elements link to their pages.
104
- - **Images**: export PNG or SVG, or copy to the clipboard.
108
+ - **Images**: export PNG or SVG, or copy to the clipboard: the whole drawing with a margin (or only what is in
109
+ sight), at a scale you choose, from the File menu or a right-click; a setting shows where the picture will end.
105
110
 
106
111
  ### Beyond Archi
107
112
 
@@ -119,7 +124,8 @@ It runs in the browser and embeds in other apps. It also has:
119
124
  ## The data modeller
120
125
 
121
126
  One model at the conceptual, logical and physical levels, read by each stakeholder in their own terms, governed and
122
- checked the way DAMA-DMBOK2 has a model reviewed, and ready for banking at BIAN level. It shares the modeller's
127
+ checked the way DAMA-DMBOK2 has a model reviewed, and ready for banking at BIAN level. A model can be imported
128
+ from pasted JSON, an assistant's answer included. It shares the modeller's
123
129
  workbench: several models open at once, undo for everything, files saved back where they came from, models kept in
124
130
  the browser and backed up.
125
131