Skip to content

Commit

Permalink
feat(graphin):deconstruct graphin static method
Browse files Browse the repository at this point in the history
  • Loading branch information
pomelo-nwu committed Jan 20, 2021
1 parent a03e693 commit 49bf240
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/graphin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,12 @@ registerGraphinCircle();
/** 注册 Graphin line Edge */
registerGraphinLine();

/** 解构静态方法 */
const { registerFontFamily } = Graphin;

/** export */
export default Graphin;
export { Utils, Layout, GraphinContext, Behaviors };
export { Utils, Layout, GraphinContext, Behaviors, registerFontFamily };

export { GraphinContextType, NodeStyle, EdgeStyle };
export {
Expand Down

0 comments on commit 49bf240

Please sign in to comment.