Members
-
erNodes :Array.<LayoutNode>
-
布局节点数组
Type:
- Array.<LayoutNode>
-
flowLinkStack :Array.<Layout~LinkMeta>
-
布局连线单元数组
Type:
- Array.<Layout~LinkMeta>
-
flowStack :Array.<Layout~NodeMeta>
-
布局节点单元数组
Type:
- Array.<Layout~NodeMeta>
-
static :boolean
-
false 不需要布局变化检查
Type:
- boolean
Methods
-
reflow(group)
-
重排 在实现时,通过计算栈内每个元素的位置来重排
Parameters:
Name Type Description groupGroup | JFlow 栈对象
- Implements:
-
reOrder(tree)
-
从 tree 计算布局
Parameters:
Name Type Description treeAstNode ER 树
-
staticCheck(instance, jflow)
-
对象布局位置检查,在static为true时生效
Parameters:
Name Type Description instanceNode 目标节点对象
jflowJFlow JFlow对象
- Implements:
Returns:
- Type
- Boolean
Type Definitions
-
Configs
-
ER布局数据源配置
Type:
- Object
Properties:
Name Type Description entityRelationshipArray.<ERLayout~sourceConfigs> 关系
-
sourceConfigs
-
ER source
Type:
- Object
Properties:
Name Type Description typestring node
idstring 唯一标识
propertiesArray.<Object> 描述