Completed
Last Updated: 29 Apr 2022 10:40 by ADMIN
Release R2 2022
ADMIN
Created by: Telerik Admin
Comments: 1
Category: Diagram
Type: Feature Request
18
Implement support (or extensibility) for printing the whole diagram in a single page.
Completed
Last Updated: 11 Apr 2022 10:54 by ADMIN
Release LIB 2022.1.411 (11 April 2022)

Most problematic issue when container can contains a container inside of it.

In mvvm demo project i modified load/save button to Clear diagram and display different content.

It works but after few click there is a recurrence call to update Z indices.

The reason to create such combination is to have hierarchy in diagram to display diagram from general view to detailed view.

 

 

 

Completed
Last Updated: 16 Feb 2022 14:11 by ADMIN
Release R1 2022 SP1

In a NetCore project, when dragging the diagram from the toolbox into the designer, an exception is thrown inside the designer. 

With Visual Studio 2019 Preview v. 16.10.0. Preview 2.0, Net 5 project => when dragging from the ToolBox - the VS goes into a non-responsive state (Vs is busy is shown or the VS crashed and closed automatically).

Completed
Last Updated: 11 Feb 2022 15:57 by ADMIN
Release LIB 2022.1.214 (14 Feb 2022)
When you select the Size tab and than select another shape where the Size should not be available, its content is shown whether is enabled or not. The SettingsPane should fallback to an enabled tab when one is disabled.

To work this around you can create a custom RadTabControl and implement custom fallback selection logic there. Then replace the RadTabConrol from the ControlTemplate of the SettingsPaneView with the custom tab control. Check the attached project.
Completed
Last Updated: 07 Feb 2022 08:01 by ADMIN
Release LIB 2022.1.207 (7 Feb 2022)
If connected shapes are shifted in an overlapping manner, a freeze occurs due to the AStarRouter's routing logic if a line cannot be formed on the outside.
Completed
Last Updated: 01 Feb 2022 12:43 by ADMIN
Release LIB 2022.1.207 (7 Feb 2022)
Removing an item from the RadDiagram results in all groups which do not have an IDiagramItem in them to be cleared - even if they are not empty and contain other groups.
Unplanned
Last Updated: 20 Jan 2022 15:07 by ADMIN
Currently, you can hit an ArgumentNullException in case you are using the GraphSource feature of RadDiagram. The exception is thrown if you define a ContainerShapeStyle or ContainerShapeStyleSelector that adds a Style with a TargetType that is different than the one of the container added to the diagram. 

Throw a more descriptive error that tells the concrete reason. In this case, the issue relates to the wrong TargetType of the Style.

To reproduce the error, it is enough to add a container node (ContainerNodeViewModelBase<NodeViewModelBase>) in the graph source and then to add a ContainerShapeStyle with a wrong TargetType. For example, use a type of Button.
Completed
Last Updated: 13 Jan 2022 09:49 by ADMIN
Release R1 2022
ADMIN
Created by: Petar Mladenov
Comments: 4
Category: Diagram
Type: Feature Request
24
Currently large diagrams are hard to export with good quality because of the memory limitation in WritableBitmap when the DPI is increased.

 -- One option is to use BitMapCacheBrush (discussed here http://www.telerik.com/forums/low-resolution-using-exporttoimage-on-big-diagram)

 -- Another option is to export multiple images of the diagram which cover it all. Then possibly combine these pictures into one.

 -- Also , you can try increasing the operating memory of your Visual Studio
Declined
Last Updated: 22 Oct 2021 10:29 by Petar
If two connections are crossing one another at a connection point, the connection bridge (bow or gap) is not drawn.
This is reproducible only with the ConnecitonBridge property of RadDiagram set to Bow or Gap.

A possible workaround is to create a class that derives from RadDiagramConnection and override its CreateGeometry, where you can manually calculate and create the geometry of the connection line along with a connection bridge geometry.
Completed
Last Updated: 21 Sep 2021 10:44 by ADMIN
Release LIB 2021.3.927 (27 Sep 2021)
Expanding the top parent of nested containers leads to rendering the last sub-container, nevertheless its parent is collapsed
Completed
Last Updated: 17 Sep 2021 06:16 by ADMIN
Release LIB 2021.3.920 (20 Sep 2021)
Use TextTool to create shape with no text but with background.

Pressing enter will close the tool. But the shape remains visible, but you cannot neither select it nor delete it with mouse / keyboard.
By design this shape should be removed both from the Shapes collection and from the diagram surface.

As a workaround you can try deleting this shape manually by overriding the Diagram's CommandExecuted event : private void diagram_CommandExecuted(object sender, CommandRoutedEventArgs e) { if (e.Command.Name == "Edit Item") { foreach (RadDiagramTextShape textShape in this.diagram.ChildrenOfType<RadDiagramTextShape>()) { if (!this.diagram.Shapes.Contains(textShape)) { Canvas parent = textShape.Parent as Telerik.Windows.Controls.Diagrams.DiagramSurface; if (parent != null) { parent.Children.Remove(textShape); this.diagram.ServiceLocator.GetService<Telerik.Windows.Diagrams.Core.ISelectionService<IDiagramItem>>().ClearSelection(); } } } }
Completed
Last Updated: 19 Aug 2021 06:03 by ADMIN
Release LIB 2021.2.823 (23 Aug 2021)
Currently, the router can be slow in situations with big amount of items. Also, in some corner cases, the routing of a specific connection can hang and the A* algorithm never continues to the next connection in the diagram.
Completed
Last Updated: 28 Jul 2021 05:48 by ADMIN
Release LIB 2021.2.802 (2 Aug 2021)

Currently, the content of RadDiagramShape element alignment can be changed via its HorizontalContentAlignment and VerticalContentAlignment. However, in RadDiagramTextShape, those properties don't take effect. Instead the text content is always centered.

At this point, you can achieve this requirement, by extracting the ControlTemplate of RadDiagramTextShape and bind the corresponding properties of the ContentPresenter to the parent shape. For example:

<ContentPresenter x:Name="NormalContent"
				  Margin="{TemplateBinding Padding}"
				  HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
				  VerticalAlignment="{TemplateBinding VerticalContentAlignment}"/>

Unplanned
Last Updated: 16 Jul 2021 14:14 by ADMIN

Hundreds of Connections with ConnectionsBridges turned on in diagram. One on top of the others.

StackOverflowException between updating the Connections' Start/End points.

Unplanned
Last Updated: 14 Jun 2021 08:33 by ADMIN
TreeLayout sorts 3 components with 3, 2, 1 shapes respectively. User needs to add 2 shapes in the second group, but does not want to have it sorted after layout on the left of the first group. So an option to preserve the tree layout in each component is needed but to disable the automatic sorting of groups (components). 
Completed
Last Updated: 05 Mar 2021 16:33 by ADMIN
Release LIB 2020.3.1116
Completed
Last Updated: 22 Jan 2021 13:05 by ADMIN
Release LIB 2021.1.125 (1/25/2021)

The exception throws when you use RadDiagram in a data binding scenario by populating its GraphSource and you want to draw a shape using the RadDiagramRibbon's ShapeTool. 

InvalidOperationException: 'Cannot modify the Items collection when the GraphSource is set.'

To work this around, use the PreviewMouseDown, PreviewMouseMove and PreviewMouseUp events of RadDiagram in order to prevent the default logic executed by the ShapeTool. Then, in the event handlers, implement a custom logic that works with the diagram GraphSource.

private void RadDiagramRibbon_Loaded(object sender, RoutedEventArgs e)
{
	var toolService = diagram.ServiceLocator.GetService<IToolService>() as ToolService;
	this.shapeTool = (ShapeTool)toolService.ToolList.FirstOrDefault(x => x is ShapeTool);
}

private Point startPoint;
private bool isShapeCreationInProgress;
private MyNode currentShapeModel; // where MyNode derives from NodeViewModelBase and expose an additional Geometry property 
private ShapeTool shapeTool;

private void RadDiagram_PreviewMouseDown(object sender, MouseButtonEventArgs e)
{			
	if (this.shapeTool.IsActive && !this.isShapeCreationInProgress)
	{
		this.isShapeCreationInProgress = true;
		this.startPoint = this.diagram.GetTransformedPoint(e.GetPosition(this.diagram));

		this.currentShapeModel = new MyNode()
		{
			Geometry = this.shapeTool.Geometry,
			Position = this.startPoint,
			Width = 0,
			Height = 0
		};
		var source = (MyGraphSource)this.diagram.GraphSource;
		source.AddNode(this.currentShapeModel);
		e.Handled = true;
	}
}

private void RadDiagram_PreviewMouseMove(object sender, MouseEventArgs e)
{
	if (this.shapeTool.IsActive && this.currentShapeModel != null && this.isShapeCreationInProgress)
	{
		var transformedPoint = this.diagram.GetTransformedPoint(e.GetPosition(this.diagram));
		var width = Math.Abs(this.startPoint.X - transformedPoint.X);
		var height = Math.Abs(this.startPoint.Y - transformedPoint.Y);
		var x = Math.Min(this.startPoint.X, transformedPoint.X);
		var y = Math.Min(this.startPoint.Y, transformedPoint.Y);

		this.currentShapeModel.Width = width;
		this.currentShapeModel.Height = height;
		this.currentShapeModel.Position = new Point(x, y);
		e.Handled = true;
	}
}

private void RadDiagram_PreviewMouseUp(object sender, MouseButtonEventArgs e)
{
	this.isShapeCreationInProgress = false;
	e.Handled = true;
}

Completed
Last Updated: 22 Jan 2021 10:44 by ADMIN
Release LIB 2021.1.125 (1/25/2021)

StackOverflowException is thrown when the Layout() method of RadDiagram is called and the diagram's router is OrgTreeRouter. To reproduce this  use TreeLayoutSettings.

To work this around, add bigger HorizontalSeparation and VerticalSeparation for the TreeLayoutSettings. Or disable the connections routing using the RouteConnections property of RadDiagram.

Completed
Last Updated: 16 Nov 2020 13:36 by ADMIN
Release LIB 2020.3.1116
RadDiagram with virtualization turned off.

Randomly positioned 5000 shapes are added in Diagram.

For the test, Shapes are with simplified template consisting pretty much of a single Border and nothing else.

On maximized WPF window, Diagram Load for about 3-3.5 seconds.

On normal WPF window, DIagram loads for about 15 seconds.

Completed
Last Updated: 02 Oct 2020 07:20 by ADMIN
Release LIB 2020.3.912
In some cases, a RadDiagramConnection with its UseFreeConnectors property set to True is not loaded correctly from xml.