注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

.NET_JAVA_ActiveX仓库

联系QQ: 578867473 , 1420502900

 
 
 

日志

 
 

yWorks yFiles 2.2 for Silverlight 流程图  

2013-01-04 22:58:49|  分类: 流程圖 |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

yFiles for Silverlight Change Log

yFiles for Silverlight 2.2 - Changes Since 2.1.0.4

Framework Requirements

  • yFiles for Silverlight now requires the Silverlight 5.0 framework and plugin or higher.

Major Features Added

  • Touch input is now supported by all built-in input modes. New input mode class TapInputModeintroduces transparent support for touch gestures in user interactions. This new input mode is part of the default configurations of GraphEditorInputMode and GraphViewerInputMode, respectively.
  • New support for edge-to-edge connections in user interactions. Edges can be connected to other edges during edge creation as well as by reconnecting edge ends. 
    [To the corresponding section in the yFiles for Silverlight Developer's Guide...]
  • A great number of additional status-indicating events has been added to the various default input modes in order to provide fine-grained callbacks to customization code.
  • The library no longer contains Apache licensed third party code.

Automatic Layout

  • Class yWorks.yFiles.Layout.Multipage.MultiPageLayouter is a new layout algorithm that breaks apart a given graph into a set of smaller graphs so that each layout of a small graph fits into a given width and height. 
    The Demo.yFiles.Layout.MultiPage shows how to use class MultiPageLayouter to sub-divide large graphs into smaller bits of navigable information. 
    [To the corresponding section in the yFiles for Silverlight Developer's Guide...]

Minor Features Added

  • New classes AdjacentNodesGraphSource and AdjacentEdgesGraphSource provide data binding support for a much larger number of user data models.
  • DefaultEdgeIntersectionCalculator now supports cropping edges directly at the port instead of at the node's geometry. This can be used to easily have edges end at the port instead of at the geometry of the node. See the new properties CropAtPortExtraCropLength, and callback methodGetPortGeometry.
  • GraphSource:
    • Added property LazyNodeDefinition which allows the usage of objects as source and target of edges that are not part of NodesSource.
    • Added the binding properties LocationXBinding and LocationYBinding for specifying the node location.
    • Added the binding property NodeIdBinding for specifying the node id. This allows specifying the source and target node of an edge using the node id.
  • TreeSource: Added the bindings LocationXBinding and LocationYBinding for specifying the node location.

Automatic Layout and Analysis

  • The orthogonal layout algorithms OrthogonalLayouterOrthogonalGroupLayouter, andDirectedOrthogonalLayouter now support specifying a minimum first/last segment length. See the corresponding descriptions of OrthogonalLayouter.EdgeLayoutDescriptorDpKey,OrthogonalGroupLayouter.EdgeLayoutDescriptorDpKey, andDirectedOrthogonalLayouter.EdgeLayoutDescriptorDpKey, respectively.
  • SimplexNodePlacer: Added an algorithm that reduces the number of bends. This option can be set using property BendReductionEnabled and is enabled by default. Note: using this option increases the runtime of the IncrementalHierarchicLayouter. If the runtime exceeds the maximal duration the number of bends is not reduced.
  • Added abstract class AbstractPortConstraintOptimizer, a partial implementation of interfaceIPortConstraintOptimizer, to minimize the effort required to modify the port assignment after the sequencing phase of a hierarchic layout.
  • TreeLayouter: When using port styles BorderCenter and BorderDistributed together with child placement policies LeavesStackedLeavesStackedLeftLeavesStackedRight, andLeavesStackedLeftAndRight edges connect to the appropriate sides of their target nodes instead of to the top. Moreover, the order of outgoing edges no longer results in crossings for port styleBorderDistributed.
  • AbstractLabelingAlgorithm: Added DataProvider key LabelModelDpKey that can be used to temporarily specify the model of labels that is used by the labeling algorithm.
  • ShortestPaths: Added method ShortestPair.

Improvements

  • CanvasPrintDocument: Added convenience overloads of the Print method that delegate to the new methods in PrintDocument that have been added in Silverlight 5.
  • GraphMLIOHandler: Added AddRegistryOutputMapper overload that takes a serialization handler.

Automatic Layout

  • FamilyTreeLayouter: Improved the algorithm with respect to the number of edge crossings.
  • PCListOptimizer: Improved the handling of port candidates and enhanced backloop routing support.

Demos

  • Added new demos Demo.yFiles.DataBinding.InteractiveNodesGraphSource andDemo.yFiles.DataBinding.InteractiveEdgesGraphSource that show data binding with classesAdjacentNodesGraphSource and AdjacentEdgesGraphSource, respectively.
  • Added new demo Demo.yFiles.Graph.EdgeToEdge that shows how to enable and make use of the new edge-to-edge connection feature.
  • Added new Demo.yFiles.Layout.Multipage that shows how to use class MultiPageLayouter to sub-divide large graphs into smaller bits of navigable information.

Bugfixes

Automatic Layout

  • LabelLayoutDataRefinement: Fixed InvalidCastException that could occur due to wrong type of label model parameters.

Incompatible API Changes

  • yFiles for Silverlight now requires the Silverlight 5.0 framework and plugin or higher.
  • yFiles for Silverlight now requires a reference to the System.Numerics.dll from the Silverlight 5.0 framework.
  • Methods GetTargetPortCandidateProvider and GetSourcePortCandidateProvider inGraphEditorInputMode changed their signatures to accept IPortOwner instances instead of INodeinstances. This was required to allow for interactive edge-to-edge connections. Overriding methods need to be adjusted accordingly.
  • Method ShowHitNodeCandidatesOnly in class PortRelocationHandle has been renamed toShowHitPortOwnerCandidatesOnly to support edge-to-edge connections. Also the behavior of this class has been changed to allow edge-to-edge connections if this feature has been enabled by providing port candidates at the edges. Should you wish to disallow edge-to-edge connection even though you are providing edge port candidates, the new EdgeToEdgeConnectionsAllowed property can be set to false.
  • Previously it was possible to cast DefaultEdgeIntersectionCalculator.Instance to the containing type. The singleton is not of the given type anymore. If you require an instance of that type, consider instantiating one instead.
  • Since with this release LayoutGraphAdapter translates IMapper instances in the graph's mapper registry as IDataMap implementations that enable data write-back scenarios, the code that deals with IncrementalHierarchicLayouter.LayerValueHolderDpKey now behaves differently. In older releases the IIntValueHolder interface was queried from the mapper to write back the layer data. Now the data is written directly into the mapper and the IIntValueHolder implementation is ignored. See Demo.yFiles.Layout.IncrementalHierarchicLayouter for an example on how to use the respective key
  评论这张
 
阅读(585)| 评论(0)
推荐 转载

历史上的今天

在LOFTER的更多文章

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017