摘要:
Dynamic routing of 1D and 2D connectors is provided in a connected diagram. 2D connector shapes, end-shapes, content such as text or images are dynamically adjusted as objects are placed onto the diagram canvas. Connection points for connectors are determined using cardinal points, shortest distance between objects, or by generating additional cardinal points with a virtual object. Connectors are routed using a boundary box placed between cardinal points and a relationship between imaginary vectors pointing away from the objects at the connection points.
摘要:
Technologies are described herein for correcting the layout of shapes in a diagram. A request is received to correct the diagram layout. The positional relationships between the shapes in the diagram are determined through the creation of a dependency tree. According to various embodiments, the dependency tree defines parent-child relationships within the diagram and the physical position of shapes with respect to one another. Using the dependency tree and layout rules, the shapes within the diagram may be repositioned to correct misalignment and uneven spacing to make minor corrections in the layout while preserving the general configuration of the original layout. Embodiments provide for layout corrections of diagrams including regions that encompass member shapes and provide for conflict resolution when layout corrective actions result in overlaps of shapes, regions, or page breaks.
摘要:
Technologies are described herein for correcting the layout of shapes in a diagram, and specifically for diagrams having constraint-based layouts, such as with lists of regions and shapes directly connected without connecting lines. A request is received to correct the diagram layout. Shape layouts are predicted for each region, followed by minimal region corrections corresponding to the corrected shape layouts. Corrected layouts are provided sequentially through the lists of regions while resolving conflicts. Virtual nodes may be utilized to preserve region layouts when flipping or rotating diagrams. A connection classification and prioritization system is used to layout shapes and regions within a diagram having one or more direct connections between shapes and/or regions.
摘要:
Dynamic routing of 1D and 2D connectors is provided in a connected diagram. 2D connector shapes, end-shapes, content such as text or images are dynamically adjusted as objects are placed onto the diagram canvas. Connection points for connectors are determined using cardinal points, shortest distance between objects, or by generating additional cardinal points with a virtual object. Connectors are routed using a boundary box placed between cardinal points and a relationship between imaginary vectors pointing away from the objects at the connection points.
摘要:
Technologies are described herein for correcting the layout of shapes in a diagram, and specifically for diagrams having constraint-based layouts, such as with lists of regions and shapes directly connected without connecting lines. A request is received to correct the diagram layout. Shape layouts are predicted for each region, followed by minimal region corrections corresponding to the corrected shape layouts. Corrected layouts are provided sequentially through the lists of regions while resolving conflicts. Virtual nodes may be utilized to preserve region layouts when flipping or rotating diagrams. A connection classification and prioritization system is used to layout shapes and regions within a diagram having one or more direct connections between shapes and/or regions.
摘要:
Technologies are described herein for correcting the layout of shapes in a diagram. A request is received to correct the diagram layout. The positional relationships between the shapes in the diagram are determined through the creation of a dependency tree. According to various embodiments, the dependency tree defines parent-child relationships within the diagram and the physical position of shapes with respect to one another. Using the dependency tree and layout rules, the shapes within the diagram may be repositioned to correct misalignment and uneven spacing to make minor corrections in the layout while preserving the general configuration of the original layout. Embodiments provide for layout corrections of diagrams including regions that encompass member shapes and provide for conflict resolution when layout corrective actions result in overlaps of shapes, regions, or page breaks.
摘要:
System and methods for providing 1D and 2D connectors in a connected diagram. Routing and layout of connectors is accomplished through a pre-defined set of behaviors and properties on a connector that enable an aesthetic layout. Routing behaviors and visual look of the connectors within a diagram may be included in an XML definition file or controlled by a user. The user may switch between 1D and 2D connectors regardless of a shape of the connector. Padding and offset features are assigned to connectors for aesthetically pleasing presentation of object relations. Text box shapes and placements on or near connectors are aligned with connector type, size, and placement. Images and non-predefined shapes may be used as connectors with behaviors assigned similar to predefined shapes.
摘要:
System and methods for providing 1D and 2D connectors in a connected diagram. Routing and layout of connectors is accomplished through a pre-defined set of behaviors and properties on a connector that enable an aesthetic layout. Routing behaviors and visual look of the connectors within a diagram may be included in an XML definition file or controlled by a user. The user may switch between 1D and 2D connectors regardless of a shape of the connector. Padding and offset features are assigned to connectors for aesthetically pleasing presentation of object relations. Text box shapes and placements on or near connectors are aligned with connector type, size, and placement. Images and non-predefined shapes may be used as connectors with behaviors assigned similar to predefined shapes.