refactor(bundle): create separate plugins bundle closes #15
This commit is contained in:
@@ -3,7 +3,6 @@ import ReactFlow from './container/ReactFlow';
|
||||
export default ReactFlow;
|
||||
|
||||
export { default as Handle } from './components/Handle';
|
||||
export { MiniMap, Controls } from './plugins';
|
||||
|
||||
export {
|
||||
isNode,
|
||||
|
||||
@@ -182,14 +182,3 @@ export const zoomOut = () => {
|
||||
const state = store.getState();
|
||||
state.d3Zoom.scaleTo(state.d3Selection, state.transform[2] - 0.2);
|
||||
};
|
||||
|
||||
export default {
|
||||
isEdge,
|
||||
getBoundingBox,
|
||||
graphPosToZoomedPos,
|
||||
getConnectedEdges,
|
||||
parseElement,
|
||||
fitView,
|
||||
zoomIn,
|
||||
zoomOut
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user