| 2849 | } |
| 2850 | |
| 2851 | bool IsAnyAttributeActive(int* const attribute_id) |
| 2852 | { |
| 2853 | assert((GImNodes->CurrentScope & (ImNodesScope_Node | ImNodesScope_Attribute)) == 0); |
| 2854 | |
| 2855 | if (!GImNodes->ActiveAttribute) |
| 2856 | { |
| 2857 | return false; |
| 2858 | } |
| 2859 | |
| 2860 | if (attribute_id != NULL) |
| 2861 | { |
| 2862 | *attribute_id = GImNodes->ActiveAttributeId; |
| 2863 | } |
| 2864 | |
| 2865 | return true; |
| 2866 | } |
| 2867 | |
| 2868 | bool IsLinkStarted(int* const started_at_id) |
| 2869 | { |
nothing calls this directly
no outgoing calls
no test coverage detected