@rimbu/graph
Version:
Immutable Graph data structures for TypeScript
14 lines • 588 B
JavaScript
import { HashMap } from '@rimbu/hashed';
import { ValuedGraphContext, } from '@rimbu/graph/custom';
function createContext(options) {
return Object.freeze(new ValuedGraphContext(false, 'EdgeValuedGraphHashed', options?.linkMapContext ?? HashMap.defaultContext(), options?.linkConnectionsContext ?? HashMap.defaultContext()));
}
const _defaultContext = createContext();
export const EdgeValuedGraphHashed = Object.freeze({
..._defaultContext,
createContext,
defaultContext() {
return _defaultContext;
},
});
//# sourceMappingURL=edge-valued-graph-hashed.mjs.map