MindFusion.Diagramming{FlowChartX} for ActiveX Pro 4.9.9

MindFusion.Diagramming{FlowChartX} for ActiveX Pro is an ActiveX control that helps you create and present workflow, flowchart and process diagrams, database entity-relationship diagrams, organizational, hierarchy and relationship charts, network schemes, graphs, and trees. Included are VB, C++ VB.NET, VB.NET, and MFC Samples. MindFusion.Diagramming for ActiveX Pro Source Code available. Buy MindFusion.Diagramming for ActiveX Pro and obtain 12 months of free upgrades.

MindFusion.Diagramming for the ActiveX programming model is based on three classes of objects: boxes, tables, and arrows. Diagram nodes can be represented by boxes and tables in a variety of diagrams. Arrows are links and relations between nodes. Each object type in FlowChartX can be exposed as a COM class with properties and methods controlling its behavior and appearance. These classes allow you to programmatically move and resize FCX objects, lock them in place, reposition them in the Z-order and attach their text, font, style, and other visual attributes.

Every object type is available in MindFusion.Diagramming for ActiveX is exposed as a COM class with properties and methods controlling its look and behavior. These classes allow you to programmatically move and resize FCX objects, lock them in place, reposition them in the Z-order, and attach them; text, font style, and other visual attributes can all be exposed as properties.

A brief description of the basic MindFusion.Diagramming for ActiveX types follows below:

You can use boxes to represent classes in class hierarchies and flowchart elements. They can contain both text and graphics in different sizes, colors, and fonts. Any polygonal shape can be used to make box objects. There are over 50 predefined shapes for box objects. FlowChartX also allows you to quickly and easily create your own shapes. Two types of custom painting are possible with boxes. You have full control of the painting with the first, while the second allows you to add your own painting code.

You can use tables in both database diagrams and in other types of charts that require table representation. They display grids of cells, and each cell has text. You can customize cells, columns, and rows in many ways. Some properties allow you to set their style, extent, and alignment. You can programmatically change the dimensions of tables. Inserting, appending, or deleting columns and rows can all be done quickly and intuitively. Background images and graphics can be displayed on tables. BMP, GIF, and JPEG are supported. The same applies to boxes.

Diagrams can use arrows to show various types of relationships and connections. FlowChartX provides three types of arrows:

  • Poly-line arrows made of straight-line segments
  • Bezier-spline segments make up curved arrows
  • Arrows are composed of both horizontal and vertical segments. They alternate their orientation so that each segment is perpendicular to its neighbor.

Each arrow must be connected to either a box or a piece of furniture. Transparent boxes can be used on either side of an arrow to make it look hanging. You can customize arrow properties such as tip styles, colors and text, pen widths and styles, modification behavior, and the number of segments.

Global functionality and appearance features include scrolling and zooming and printing, serialization to files and streams, and visual effects such as shadows and gradients. This control has built-in support to arrange and layout its diagram nodes.

FlowChartX uses the ATL libraries to implement ActiveX control interfaces. You can optionally download the source code with the single-developer edition.

MindFusion FlowChartX Professional Great Features:

  • clipboard operations
  • undo/redo
  • containers: objects that can hold other objects
  • snapping objects one to another
  • support for shape libraries
MindFusion.Diagramming是一个用于.NET平台的交互式图表库,其中的DiagramControl组件允许创建流程图、组织结构图等。若要在MindFusion中限制连线只能连接到特定的锚点(如开始/结束节点或其他特殊标记),你可以通过自定义连线规则或者设置特定的连接策略来实现。 1. **设置连接规则**:在绘制连线时,可以编写一个事件处理器,比如`ConnectionCreating`或`ShapeConnected`事件,在这个事件中检查新的连接是否满足条件,如果不符合则阻止连线。例如,你可以检查连接的源和目标是否都是预设的锚点类型。 ```csharp diagram.ConnectionCreating += (sender, args) => { var connection = args.Connection; if (!IsAllowedConnection(connection.Source, connection.Destination)) args.Cancel = true; // 取消连线 }; private bool IsAllowedConnection(IShape source, IShape destination) { // 检查source和destination是否是锚点 return source.IsAnchor && destination.IsAnchor; } ``` 2. **使用约束**:MindFusion提供了一些内置的约束,可以通过`GraphModel.SetConstraint()`方法添加针对特定连线类型的约束。例如,你可以创建一个只允许从指定类型形状出发的约束: ```csharp var constraint = new ConnectionPointConstraint(sourceType: typeof(MyStartNode)); diagram.GraphModel.SetConstraint(constraint); ``` 3. **图形编辑模式**:在设计时,可以在图形编辑器中禁用默认的自动连接功能,用户只能手动拖拽线段到指定的锚点。 总之,通过组合上述方法,你可以限制MindFusion.Diagramming中的连线只能在特定锚点上生效。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值