Designing an Integrated Architecture on HaydnCSF
This section describes how to use the HaydnCSF Design Center to meet architects' architecture design requirements. The following figure is used as an example to describe how to complete the integrated architecture design using the HaydnCSF Design Center.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001505848261.png)
Registering a Solution
HaydnCSF provides solution process management based on the Business Process Management (BPM) process engine. You can start solution design based on the process.
- Log in to HaydnCSF and select the Solution design scenario.
Figure 2 Scenario selection
- Click New Solution. On the displayed page, select Create workspace, specify the workspace name, and click Confirm.
Figure 3 Creating a solution
- Enter information about the solution to be registered. You can specify yourself as the solution design owner.
Figure 4 Registering a solution
- After the solution is registered, locate it, choose More > Design in the Operation column to go to the solution design page.
Figure 5 Going to the solution design page
- Create an integrated architecture.
Figure 6 New Integration ArchitectureFigure 7 Layout of the integrated architecture design
Intelligent Architecture Recommendation
The HaydnCSF Design Center can recommend the most suitable solution architecture to you based on the language you entered. You can reference the recommended architecture quickly. In the HaydnCSF Design Center, HaydnCSF intelligently recommends solutions or architectures based on your solution or architecture information. You can also enter keywords to search for and view the most matched architecture for secondary editing.
After entering the Design Center, you can use intelligent architecture recommendation to search for the architecture to be referenced. If you want to delete an architecture that is referenced, right-click the architecture and choose Clear canvas from the shortcut menu.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456251412.png)
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001505732441.png)
Adding Diagram Elements
The HaydnCSF Design Center provides three types of diagram elements: standard, color, and emboss diagram elements. There are standard black and white diagram elements for Huawei cloud services, third-party applications and components, and auxiliary diagram elements, to meet architects' technical architecture and information architecture design requirements. Different types of services have different colors, making the architecture more beautiful and hierarchical. You can select diagram elements as needed. There are also panel and sequence number diagram elements under the preceding three types of diagram elements, and they are used to mark the service classification, network attribute, and service flow sequence number of the architecture respectively.
- Adding a standard diagram element: Under Pent element library, select Standard and filter required icons, or enter keywords in the search box to search for required icons. Move the cursor to the diagram element to be selected and hold down the left mouse button to drag the diagram element to the canvas.
- Adding a color diagram element: The method of adding a color diagram element is the same as that of adding a standard diagram element, except selecting Color under Pent element library.
- Adding an emboss diagram element: The method of adding an emboss diagram element is the same as that of adding a standard diagram element, except selecting Emboss under Pent element library.
Figure 10 Adding a diagram element
HaydnCSF identifies deployment environment attributes for Huawei Cloud diagram elements. If you cannot find a diagram element, the possible cause is that the diagram element does not match the selected deployment environment. For example, DMS has only the Huawei public cloud attributes. If your current architecture uses Huawei Cloud Stack Online (HCS Online), you cannot find DMS in the diagram element list.
Adding Panel Diagram Elements
Panel diagram elements have been released in the standard and color diagram element modules. There are panel diagram elements for Huawei Cloud, region, AZ, Virtual Private Cloud (VPC), subnet, cluster, DMZ, service layer, account, Dedicated Computing Cluster (DCC), Dedicated Cloud (DeC), and Dedicated Host (DeH). In this example, a turnstile and edge server are deployed in the on-premises data center, and ROMA and DataArts Studio are deployed on Huawei Cloud.
You can also double-click a panel diagram element and modify the badge icon of the panel diagram element on the page that is displayed.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456256282.png)
After adding diagram elements, you can adjust them, including selecting diagram elements, moving diagram elements, aligning diagram elements, connecting diagram elements, beautifying diagram elements by one click (adjusting connection lines to straight lines), modifying diagram element attributes such as names and colors, replacing diagram elements, adding service flow description to a diagram element, and copy diagram elements across spaces.
Adjusting Diagram Elements
Quickly selecting and moving diagram elements
You can click a diagram element to select it. After selecting a diagram element, you can press Crtl and click the left mouse button to select other diagram elements. After selecting diagram elements, you can hold down the left mouse button to move the diagram elements. Or you can hold down the left mouse button and drag the mouse to quickly select diagram elements. As shown in the following figure, drag the mouse to select the area where the diagram elements are located. Release the mouse to select the diagram elements in this area. After that, hold down the left mouse button to drag the selected diagram elements.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456578146.png)
Aligning diagram elements
Diagram elements can be aligned left, right, top, bottom, center, and middle. They can also be distributed vertically or horizontally. Press Ctrl and left mouse button to select diagram elements and select an alignment mode. Diagram elements and wireframes can also be aligned.
- Align Left: The selected diagram elements are aligned to the left. This mode is applicable to the scenario where diagram elements are vertically distributed.
- Align Right: The selected diagram elements are aligned to the right. This mode is applicable to the scenario where diagram elements are vertically distributed.
- Align Top: The selected diagram elements are aligned to the top. This mode is applicable to the scenario where diagram elements are horizontally distributed.
- Align Bottom: The selected diagram elements are aligned to the bottom. This mode is applicable to the scenario where diagram elements are horizontally distributed.
- Align Center: The middle lines of selected diagram elements are aligned vertically. This mode is applicable to the scenario where diagram elements are distributed vertically and the sizes of diagram elements are different. For example, the cloud service diagram element is aligned with the wireframe, and the cloud service diagram element is aligned with the panel diagram element.
- Align Middle: The middle lines of selected diagram elements are aligned horizontally. This mode is applicable to the scenario where diagram elements are distributed horizontally and the sizes of diagram elements are different. For example, the cloud service diagram element is aligned with the wireframe, and the cloud service diagram element is aligned with the panel diagram element.
- Distribute Vertically: The selected diagram elements are evenly divided in the vertical direction. The spacing between the diagram elements in the vertical direction is the same.
- Distribute Horizontally: The selected diagram elements are evenly divided in the horizontal direction. The spacing between the diagram elements in the horizontal direction is the same.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456740278.png)
Modifying properties of a diagram element
- The name of a common diagram element, for example, the cloud service (ECS) diagram element, and other diagram elements (Wi-Fi), can be changed. You can double-click a diagram element to display the editing page and enter a new diagram element name.
- Auxiliary diagram elements (such as text boxes, wireframes, and circles) and panel diagram elements support the modification of the font (font size, bold, italic, and underline), font color, line style (solid or dotted line), background color, align (such as align top and align center), badge, and name.
- The font color, background color, and sequence number of the serial number diagram element can be changed. As shown in the following figure, the left part is the device side, and you can modify the information on the diagram element panel. The right part is Huawei Cloud, and you can modify the subnet information.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456595230.png)
Replacing diagram elements
If a connected diagram element needs to be replaced with another one, for example, the diagram element for RDS needs to be replaced with that for Relational Database Service (RDS) for MySQL, you can use the Replace Diagram Element function. After the replacement, the connection lines related to the diagram element remain unchanged. You can right-click a diagram element, choose Replace Diagram Element from the shortcut menu, search for the diagram element, and select the diagram element to be replaced.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456762310.png)
Connecting Diagram Elements
You can use straight lines or polylines to connect diagram elements that will be integrated. You can select straight lines, arrows, curves, or polylines from auxiliary diagram elements. You can also select a diagram element, drag a polyline from it, and connect it to other diagram elements. As shown in the following figure, select a diagram element. The connection nodes around the diagram element are displayed. Move the mouse pointer to the point to be connected, hold down the left mouse button, and drag the connection line to the diagram element to be connected.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456751934.png)
If the bending of the connected polyline does not meet the expectation, move the cursor to the polyline and drag it.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456272810.png)
One-Click Optimization (Adjusting Connection Lines to Straight Lines)
If the connection line between two diagram elements is not easy on the eyes, you can use Optimize to beautify the architecture diagram. The Optimize function will adjust connection lines that have not been aligned to straight lines.
It is applicable to scenarios where diagram elements on the canvas are not aligned.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456594790.png)
Adding Service Flow Descriptions
After adding, modifying, and connecting diagram elements, you can add service flow descriptions for the architecture. The descriptions help clearly identify the relationships between diagram elements and the service flow direction on the architecture.
- You can double-click a connection line to add a description for it. You can move the left mouse button to adjust the position of the description on the connection line. You can also drag a text box from the diagram element library to the corresponding position to add a description.
- If you enable Path Description when connecting diagram elements, the designer automatically adds sequence numbers.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456756622.png)
Copying Diagram Elements Across Spaces
You can copy one or more diagram elements and paste them to the architecture design canvas in the current workspace or other workspaces.
- Select a diagram element. To copy multiple diagram elements, hold down Ctrl and click the diagram elements.
- Press Ctrl+C to copy the diagram elements. You can also right-click and choose Copy from the shortcut menu.
- Open the target canvas and press Ctrl+V. You can also right-click and choose Paste from the shortcut menu.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/public_sys-resources/note_3.0-en-us.png)
HaydnCSF identifies deployment environment attributes for Huawei Cloud diagram elements. If the deployment environment attributes of a copied diagram element are inconsistent with those of your architecture, the diagram element fails to be saved after being pasted. In this case, delete diagram elements that do not have the deployment environment attributes of your architectures. For example, DMS has only the Huawei public cloud attributes. If you copy the DMS diagram element from the architecture in another space to your current architecture whose deployment environment is HCS Online, the current architecture cannot be saved after the DMS diagram element is pasted. In this case, delete the DMS diagram element.
Adjusting a Canvas
- On the toolbar of the canvas in the Design Center, click the zoom-in or zoom-out buttons to zoom in or zoom out the canvas. You can also press Ctrl and scroll the mouse wheel to zoom in or zoom out the canvas.
- The canvas scale and size can be adjusted.
- You can enter the full-screen mode to focus on design.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456278018.png)
Quickly Moving a Canvas
On the canvas page of the Design Center, press the space bar and click the left mouse button to quickly move the canvas.
Hiding the Menu or Diagram Element Library
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001506239029.png)
Checking the Design Quality in Real Time
Design rules are preset in the Design Center. The integration path connectivity is checked in real time to ensure the optimal solution design.
- Real-time check of integration paths: Integration paths can be checked in real time based on preset design rules, and check results can be provided.
- Accumulation of design rules: The Huawei Cloud solution team and service product departments will keep accumulating design rules.
- Life cycle management of design rules: The operations team updates the latest design rules and removes expired rules in a timely manner.
As shown in the following figure, after two diagram elements are connected, if there is a design rule between the two diagram elements, an icon is displayed. You can click the icon to view the detailed prompt information.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001506120453.png)
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/public_sys-resources/note_3.0-en-us.png)
Only accounts that have completed real-name authentication can use design rules. For details, see Individual Real-Name Authentication.
Diagram Element Recommendation
You can enable diagram element recommendation. As shown in the following figure, after Recommendation is enabled, HaydnCSF recommends paths for diagram elements with preset design rules.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001506007561.png)
Identifying Different Deployment Environments
The HaydnCSF platform allows you to select more than one deployment environment and use diagram elements of different deployment environments to design the architectures. If you select multiple deployment environments, services are filtered based on the deployment environments that match the created solution and architecture, and differences between deployment environments are identified during automatic deployment.
As shown in the following figure, diagram elements have deployment environment attributes. Only diagram elements of the corresponding deployment environment can be selected during HCS Online architecture design.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001360103870.png)
Auto Save
Integrated architectures are automatically saved every five minutes. During the saving, the architecture design is interrupted for a short time. You can also disable Auto Save.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001456288018.png)
Exporting PNG Images
You can export the designed architecture as a PNG image. On the menu bar of the canvas in the Design Center, click Export Image.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001505928509.png)
Exporting a Solution
You can export the integrated architecture and deployment architecture as a .pptx file for demonstration.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001359944098.png)
Sharing Architecture
The HaydnCSF platform allows you to share architecture design through WeLink, WeChat, and email. You can view the shared architecture without login.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001506514381.png)
Sharing architectures through WeLink
You can scan the QR code in WeLink to share designed architectures with WeLink contacts and groups or to share with WeChat contacts and groups.
Sharing architectures through email
Select Share by email from the architecture sharing options and enter the user's email address to share architectures with the specified email recipient.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001409544721.png)
Sharing architectures through WeChat
You can scan the QR code with WeChat to share designed architectures with WeChat contacts and groups.
Referencing a Shared Architecture with One Click
You can view the shared architectures without logging in to HaydnCSF. To reference the shared integrated architecture, you can click Quick Reference, which allows you to quickly design the architecture without creating a workspace or solution. You can also click Refer to my-space, select the specified workspace and solution, and change the architecture name to reference to the specified workspace and solution.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001359944522.png)
Releasing an Integrated Architecture
You can release the designed architectures to the Solution Acceleration Field so that other HaydnCSF users can view or reference your architectures to quickly complete their architecture design. For details about the release process, see Releasing Architecture Template in Accelerator Field.
![](https://support.huaweicloud.com/intl/en-us/qs-haydncsf/en-us_image_0000001359945078.png)
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot