12 #ifndef __UNI_GraphUtils_h__
13 #define __UNI_GraphUtils_h__
20 namespace UNI_GraphUtils
32 bool include_subnet_children =
false);
37 bool include_subnet_children);
51 const UNI_NodeIDList &child_ids);
std::string ignore_case(std::string item)
Helper function to allow ignore_case to be passed to IsMember or Transform.
UNI_API UT_Array< UT_Vector2D > getLayoutPositions(const UNI_Graph &graph, UNI_NodeID parent_id, UT_Vector2D spacing, UT_Vector2D offset, const UNI_NodeIDList &child_ids)
UNI_API UNI_NodeIDList recursiveInputs(const UNI_Graph &graph, UNI_NodeID cwd, bool follow_subnets)
UNI_API UNI_NodeIDList descendentNodes(const UNI_Graph &graph, UNI_NodeID cwd)
UNI_API UNI_NodeIDList globPatterns(const UNI_Graph &graph, UNI_NodeID cwd, const UT_StringRef &patterns, bool ignore_case=false, bool include_subnet_children=false)
UNI_API UT_Vector2D getGoodPosition(const UNI_Graph &graph, UNI_PortID anchor_port_id)
UNI_API UNI_NodeIDList recursiveGlobPatterns(const UNI_Graph &graph, UNI_NodeID cwd, const UT_StringRef &patterns, bool ignore_case, bool include_subnet_children)
UNI_API UNI_StickyNoteIDList descendentStickyNotes(const UNI_Graph &graph, UNI_NodeID cwd)