This function hides/shows specified elements (nodes, edges, or combos) in a g6 graph. Hidden elements are removed from view but remain in the graph data structure.
Details
When elements are hidden, they are removed from the visual display but still exist
in the underlying data structure. This means they can be shown again later using
g6_show_elements
without having to recreate them.
Hidden elements will not participate in layout calculations, which may cause other elements to reposition. When elements are shown again, the graph may recalculate layout positions, which can cause other elements to reposition.