|
1 | | ---- |
2 | | -redirect_from: |
3 | | - - /cloud/cube-ide |
4 | | - - /cloud/dev-tools/cube-ide |
5 | | - - /cloud/workspace/cube-ide |
6 | | ---- |
7 | | - |
8 | 1 | # Data Model |
9 | 2 |
|
10 | | -With the web-based data model editor, you can write and test and your Cube [data |
11 | | -model][ref-data-modeling] from your browser. |
| 3 | +Data model editor provides the code-first experience for building and enhancing the |
| 4 | +[data model][ref-data-modeling] of your semantic layer from within your web browser. |
| 5 | + |
| 6 | +Unlike the [Visual Model][ref-visual-model] editor, it provides the freedom to use all |
| 7 | +available data modeling features at the expense of a code-centric experience. |
12 | 8 |
|
13 | 9 | <SuccessBox> |
14 | 10 |
|
@@ -61,44 +57,6 @@ there are any unsaved changes: |
61 | 57 | alt="Unsaved changes warning modal" |
62 | 58 | /> |
63 | 59 |
|
64 | | -## Data Graph |
65 | | - |
66 | | -<InfoBox> |
67 | | - For Cube Cloud customers on the [Enterprise](https://cube.dev/pricing) tier, |
68 | | - the Data Graph is replaced by [Visual Modeler][ref-visual-modeler]. |
69 | | - Please see the [Visual Modeler page][ref-visual-modeler] for more details. |
70 | | -</InfoBox> |
71 | | - |
72 | | -In addition to exploring the code of data model files, you can view the visual |
73 | | -representation of the data model, including relations between cubes. |
74 | | -Click <Btn>Show Graph</Btn> in the top right part of the data model editor to |
75 | | -open Data Graph: |
76 | | - |
77 | | -<Screenshot src="https://ucarecdn.com/30b7fa8c-fb9f-43fb-af1d-4ef98aae2829/" /> |
78 | | - |
79 | | -Data Graph visualizes [cubes][ref-cubes] and [joins][ref-joins] between them as |
80 | | -an [entity-relationship diagram][wiki-erd] (ERD). It allows to have a bird's-eye |
81 | | -view of the data model and visually detect connected parts, i.e., groups of |
82 | | -cubes that don't have any relationships with other groups. |
83 | | - |
84 | | -For clarity, only dimensions and custom SQL expressions used in joins are shown. |
85 | | -Join [relationship types][ref-join-types] are depicted with the crow's foot |
86 | | -notation: |
87 | | - |
88 | | -- Dash represents `one` in `one_to_one` and `one_to_many` types |
89 | | -- Crow's foot represents `many` in `one_to_many` and `many_to_one` types |
90 | | - |
91 | | -You can pan and zoom the visualization, search cubes using the input box, hover |
92 | | -over cubes to highlight their relationships, and click <Btn>Show Code</Btn> to |
93 | | -view their code. |
94 | | - |
95 | | -<video width="100%" controls> |
96 | | - <source |
97 | | - src="https://ucarecdn.com/2cc26fee-f94e-4328-bc46-297bfdd6e726/video.mp4" |
98 | | - type="video/mp4" |
99 | | - /> |
100 | | -</video> |
101 | | - |
102 | 60 | ## Git integration |
103 | 61 |
|
104 | 62 | To add more Git branches to your Cube Cloud deployment and/or switch between |
@@ -162,10 +120,6 @@ If you'd like to use the UI to create a pre-aggregation, you can click on the |
162 | 120 | /> |
163 | 121 |
|
164 | 122 | [ref-data-modeling]: /product/data-modeling/overview |
165 | | -[ref-cubes]: /reference/data-model/cube |
166 | | -[ref-joins]: /reference/data-model/joins |
167 | | -[ref-join-types]: /reference/data-model/joins#relationship |
168 | | -[wiki-erd]: https://en.wikipedia.org/wiki/Entity–relationship_model |
169 | 123 | [ref-rollup-designer]: /product/workspace/rollup-designer |
170 | 124 | [ref-creating-deployment]: /product/deployment/cloud/deployments#creating-a-new-deployment |
171 | | -[ref-visual-modeler]: /product/workspace/visual-modeler |
| 125 | +[ref-visual-model]: /product/workspace/visual-model |
0 commit comments