Skip to content

Commit c736046

Browse files
author
Victory
committed
[update] Diagram items page
1 parent 602e6b3 commit c736046

File tree

3 files changed

+35
-8
lines changed

3 files changed

+35
-8
lines changed

docker/redirects.conf

+3-2
Original file line numberDiff line numberDiff line change
@@ -165,5 +165,6 @@
165165
/api/export/index/ /diagram/api/export/;
166166
/api/selection/index/ /diagram/api/selection/;
167167
/lines/index/ /diagram/lines/;
168-
api/diagram/defaultlinktype_property/ diagram/api/diagram/lineconfig_property/;
169-
api/diagram/gridstep_property/ api/editor/gridstep_property/;
168+
/api/diagram/defaultlinktype_property/ /diagram/api/diagram/lineconfig_property/;
169+
/api/diagram/gridstep_property/ /diagram/api/editor/gridstep_property/;
170+
/category/diagram-items/ /diagram/guides/items_index/;

docs/guides/items_index.md

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
---
2+
sidebar_label: Diagram items
3+
title: Diagram items
4+
description: You can learn about diagram items in the documentation of the DHTMLX JavaScript Diagram library. Browse developer guides and API reference, try out code examples and live demos, and download a free 30-day evaluation version of DHTMLX Diagram.
5+
---
6+
7+
# Diagram items
8+
9+
The next guides introduce you to all available types of Diagram items, and discuss peculiarities on their configuration.
10+
11+
import DocCardList from '@theme/DocCardList';
12+
import {useCurrentSidebarCategory} from '@docusaurus/theme-common';
13+
14+
<DocCardList items={useCurrentSidebarCategory().items}/>
15+
16+
After you have learnt the guides, you can check the following API sections to accelerate the development process:
17+
18+
- [Items API properties](category/items-api.md)
19+
- [DataCollection API](api/data_collection.md) (allows adding, removing, filtering data items (such as shapes, lines, groups, swimlanes), etc.)
20+
- [CellManager API](api/cell_manager.md) (allows adding, removing, moving swimlane cells, etc.)
21+
- [Selection API](api/selection.md)
22+
- [Diagram API](api/diagram/api_overview.md)
23+
- [Diagram Editor API](api/editor/api_overview.md)
24+
25+
To get more knowledge on how to load, customize, edit items and perform different operations over them, read the guides:
26+
27+
- [Loading and storing data](guides/loading_data.md)
28+
- [Customizing items](guides/customization.md)
29+
- [Inline editing](guides/inline_editing.md)
30+
- [Manipulating items](guides/manipulating_items.md)

sidebars.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -530,12 +530,8 @@ module.exports = {
530530
type: "category",
531531
label: "Diagram items",
532532
link: {
533-
type: 'generated-index',
534-
title: "Diagram items",
535-
//description: '',
536-
//slug: '/category/docusaurus-guides',
537-
keywords: ['diagram', 'items'],
538-
image: '/img/docusaurus.png',
533+
type: 'doc',
534+
id: "guides/items_index",
539535
},
540536
items: [
541537
// Shapes

0 commit comments

Comments
 (0)