import Behavior from './behavior' ; import AbstractGraph from './graph/graph' ; import Shape , { Arrow , Marker } from './element' ; import { IBehavior } from './types' ; import Global from './global' ; import Util from './util' ; import AbstractLayout from './graph/controller/layout' ; import AbstractEvent from './graph/controller/event' ; import Node from './item/node' ; import Edge from './item/edge' ; import Hull from './item/hull' ; import Combo from './item/combo' ; const registerNode = Shape . registerNode ; const registerEdge = Shape . registerEdge ; const registerCombo = Shape . registerCombo ; const registerBehavior = ( Behavior as IBehavior ) . registerBehavior ; const BaseGlobal = Global ; export * from './types' ; export { Arrow , Shape , Node , Edge , Combo , Hull , Marker , registerNode , registerCombo , AbstractGraph , Util , registerEdge , registerBehavior , AbstractLayout , AbstractEvent , BaseGlobal , } ; export default { version : Global . version , AbstractGraph , BaseGlobal , Util , Shape , Node , Edge , Combo , Hull , registerNode : Shape . registerNode , registerEdge : Shape . registerEdge , registerCombo : Shape . registerCombo , registerBehavior : ( Behavior as IBehavior ) . registerBehavior , Arrow , Marker , AbstractLayout , AbstractEvent , } ;