Open nibe opened 4 years ago
Before:
(loom.graph/graph {}) Execution error (NullPointerException) at loom.graph/build-graph$build (graph.cljc:499). null
After:
(loom.graph/graph {}) => #loom.graph.BasicEditableGraph{:nodeset #{}, :adj {}}
Of course you could call (loom.graph/graph) instead but the point is to remove a pitfall when dealing with maps.
(loom.graph/graph)
Before:
After:
Of course you could call
(loom.graph/graph)
instead but the point is to remove a pitfall when dealing with maps.