@mindfusion/diagramming-controls 1.4.1 → 1.5.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.
- package/README.md +57 -0
- package/diagramming-controls.d.mts +4 -3
- package/diagramming-controls.d.ts +4 -3
- package/dist/cjs/diagramming-controls.js +1 -1
- package/dist/esm/diagramming-controls.js +1 -1
- package/dist/esm/diagramming-controls.mjs +1 -1
- package/dist/umd/diagramming-controls.js +1 -1
- package/package.json +4 -4
package/README.md
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# Diagramming Controls Library for JavaScript and TypeScript
|
|
2
|
+
|
|
3
|
+
This is an auxiliary library used by the Diagramming Library for JavaScript, Angular, Vue and React. It provides additional UI components like TabbedDiagramView, Palette, ShapeDesigner, Web components and other controls used by the main flowchart control. This library is not designed to be used on its own.
|
|
4
|
+
|
|
5
|
+
## Diagrammig Library for JavaScript
|
|
6
|
+
|
|
7
|
+
[The Diagramming Library for JavaScript on npm.](https://www.npmjs.com/package/@mindfusion/diagramming)
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
#### React support
|
|
11
|
+
|
|
12
|
+
The DiagramView React component allows integrating the MindFusion.Diagramming API into React applications. It renders a [Diagram](https://mindfusion.dev/docs/javascript/diagramming/CC_T_MindFusion_Diagramming_Diagram_0.htm) instance assigned to "diagram" prop as its model. Most diagram properties can be set from JSX, and all diagram events can be handled through JSX syntax as well. For more information, see the [Integration with React](https://mindfusion.dev/docs/javascript/diagramming/React.htm) topic.
|
|
13
|
+
|
|
14
|
+
[The DiagramView component for React on npm.](https://www.npmjs.com/package/diagram-library-react)
|
|
15
|
+
|
|
16
|
+
#### Vue.js support
|
|
17
|
+
|
|
18
|
+
The diagram-view Vue.js component allows integrating the MindFusion.Diagramming API into Vue.js applications. It renders a [Diagram](https://mindfusion.dev/docs/javascript/diagramming/CC_T_MindFusion_Diagramming_Diagram_0.htm) instance assigned to "diagram" prop as its model. Most diagram properties can be set from the vue template, and all diagram events can be handled through the v-on directive as well. For more information, see the [Integration with Vue.js topic.](https://mindfusion.dev/docs/javascript/diagramming/Vue_js.htm)
|
|
19
|
+
|
|
20
|
+
[The DiagramView component for Vue on npm.](https://www.npmjs.com/package/diagram-library-vue)
|
|
21
|
+
|
|
22
|
+
#### Angular support
|
|
23
|
+
|
|
24
|
+
The diagram-view Angular component allows integrating the MindFusion.Diagramming API into Angular applications. It renders a [Diagram](https://mindfusion.dev/docs/javascript/diagramming/CC_T_MindFusion_Diagramming_Diagram_0.htm) instance assigned to "diagram" property as its model. Most diagram properties can be set from the html template, and all diagram events can be handled through event binding syntax as well. For more information, see the [Integration with Angular topic.](https://mindfusion.dev/docs/javascript/diagramming/Angular.htm)
|
|
25
|
+
|
|
26
|
+
[The DiagramView component for Angular on npm.](https://www.npmjs.com/package/diagram-library-angular)
|
|
27
|
+
|
|
28
|
+
The diagram library is also included in [MindFusion Pack for JavaScript.](https://mindfusion.dev/javascript-pack.html)
|
|
29
|
+
|
|
30
|
+
## Documentation
|
|
31
|
+
|
|
32
|
+
1. [Detailed API Reference](https://mindfusion.dev/docs/javascript/diagramming/CC_Introduction_20.htm)
|
|
33
|
+
2. [Tutorials and Step-by-step Guides](https://mindfusion.dev/docs/javascript/diagramming/CC_Tutorial_1__Loading_Graph_Data_1.htm)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## Samples
|
|
37
|
+
|
|
38
|
+
A variety of online samples are uploaded at the [MindFusion Js Diagram website.](https://mindfusion.dev/products/javascript/diagramming/samples) You can also visit the [online demo for Js Diagram.](https://mindfusion.dev/javascript-demo.html?sample=bpmndiagram) You can download an archive with all samples and all files for the library [from here.](http://mindfusion.dev/JsDiagramTrial.zip)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
## Additional Information
|
|
42
|
+
|
|
43
|
+
Learn more about JS Diagram [from the official product page.](https://mindfusion.dev/javascript-diagram.html) Stay in touch with MindFusion about our latest product announcements, tutorials and programming guidelines via [X](https://x.com/MindFusion_News) or [our company blog.](https://mindfusion.dev/blog/)
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
## Technical Support
|
|
48
|
+
|
|
49
|
+
* [Forum](https://mindfusion.dev/Forum/YaBB.pl?board=jsdiag_disc)
|
|
50
|
+
* [E-mail](mailto:support@mindfusion.eu)
|
|
51
|
+
* [Help desk](https://www.mindfusion.dev/HelpDesk/index.php)
|
|
52
|
+
|
|
53
|
+
## Licensing
|
|
54
|
+
|
|
55
|
+
The end-user license agreement for all MindFusion Programming Libraries is [here.](https://mindfusion.dev/eula.html)
|
|
56
|
+
|
|
57
|
+
|
|
@@ -850,13 +850,14 @@ declare module "Diagramming.Controls/Palette" {
|
|
|
850
850
|
constructor(element: HTMLDivElement);
|
|
851
851
|
_measureUnit: number;
|
|
852
852
|
_columns: number;
|
|
853
|
-
_labelPosition:
|
|
853
|
+
_labelPosition: number;
|
|
854
854
|
_padding: number;
|
|
855
855
|
_iconSize: Size;
|
|
856
856
|
_newInstanceSize: Size;
|
|
857
857
|
_textColor: string;
|
|
858
858
|
_captionFont: Font;
|
|
859
859
|
_controls: Map<any, any>;
|
|
860
|
+
req: () => boolean;
|
|
860
861
|
itemSelectedDelegate: (sender: any, args: any) => void;
|
|
861
862
|
updateSizeDelegate: (sender: any, args: any) => void;
|
|
862
863
|
set columns(arg: number);
|
|
@@ -866,13 +867,13 @@ declare module "Diagramming.Controls/Palette" {
|
|
|
866
867
|
* @summary An integer value specifying the number of columns.
|
|
867
868
|
*/
|
|
868
869
|
get columns(): number;
|
|
869
|
-
set labelPosition(arg:
|
|
870
|
+
set labelPosition(arg: number);
|
|
870
871
|
/**
|
|
871
872
|
* Gets or sets a value indicating the position of labels relative to item icons.
|
|
872
873
|
* @type {LabelPosition}
|
|
873
874
|
* @summary A member of the LabelPosition enumeration.
|
|
874
875
|
*/
|
|
875
|
-
get labelPosition():
|
|
876
|
+
get labelPosition(): number;
|
|
876
877
|
set iconSize(arg: Size);
|
|
877
878
|
/**
|
|
878
879
|
* Gets or sets the size of items displayed in the palette.
|
|
@@ -850,13 +850,14 @@ declare module "Diagramming.Controls/Palette" {
|
|
|
850
850
|
constructor(element: HTMLDivElement);
|
|
851
851
|
_measureUnit: number;
|
|
852
852
|
_columns: number;
|
|
853
|
-
_labelPosition:
|
|
853
|
+
_labelPosition: number;
|
|
854
854
|
_padding: number;
|
|
855
855
|
_iconSize: Size;
|
|
856
856
|
_newInstanceSize: Size;
|
|
857
857
|
_textColor: string;
|
|
858
858
|
_captionFont: Font;
|
|
859
859
|
_controls: Map<any, any>;
|
|
860
|
+
req: () => boolean;
|
|
860
861
|
itemSelectedDelegate: (sender: any, args: any) => void;
|
|
861
862
|
updateSizeDelegate: (sender: any, args: any) => void;
|
|
862
863
|
set columns(arg: number);
|
|
@@ -866,13 +867,13 @@ declare module "Diagramming.Controls/Palette" {
|
|
|
866
867
|
* @summary An integer value specifying the number of columns.
|
|
867
868
|
*/
|
|
868
869
|
get columns(): number;
|
|
869
|
-
set labelPosition(arg:
|
|
870
|
+
set labelPosition(arg: number);
|
|
870
871
|
/**
|
|
871
872
|
* Gets or sets a value indicating the position of labels relative to item icons.
|
|
872
873
|
* @type {LabelPosition}
|
|
873
874
|
* @summary A member of the LabelPosition enumeration.
|
|
874
875
|
*/
|
|
875
|
-
get labelPosition():
|
|
876
|
+
get labelPosition(): number;
|
|
876
877
|
set iconSize(arg: Size);
|
|
877
878
|
/**
|
|
878
879
|
* Gets or sets the size of items displayed in the palette.
|