11 #ifndef smtk_graph_NodeSet_h
12 #define smtk_graph_NodeSet_h
15 #include "smtk/common/UUID.h"
28 struct SMTKCORE_EXPORT Compare
31 const std::shared_ptr<smtk::resource::Component>& lhs,
32 const std::shared_ptr<smtk::resource::Component>& rhs)
const;
36 using Container = std::set<NodeType, Compare>;
39 const Container& nodes()
const;
46 std::size_t eraseNodes(
const smtk::graph::ComponentPtr& node);
47 bool insertNode(
const smtk::graph::ComponentPtr& node);