import * as types from '../../types' // import { session, getDefault, getDefaultInt } from '../../session' import { crudState, crudReducer } from '../../api/crud.reducer' const initialState = crudState('graph', { options: { } }) const reducer = crudReducer('graph') export default function graphReducer(state = initialState, action) { // console.log(action.type, action) state = reducer(state, action) switch (action.type) { default: return state } }