Skip to content
tianmo edited this page Aug 30, 2012 · 10 revisions

绘图的核心类,生成画布,并且管理绘图相关的所有功能。


使用方法:

var graph = Ext.create('Ext.graph.Panel', {
    renderTo: Ext.getBody()
});

或者

{
    xtype: 'graph'
}

属性

panning

支持右键拖动

Type: Boolean
Defaults: true ###connectable 是否允许元素通过其中部的连接点新建连接,false则通过连接线连接

Type: Boolean
Defaults: true

Clone this wiki locally