Skip to content

Commit 47f951d

Browse files
committed
[GHPython] Added clear_edges and clear_nodes to NetworkArtist
1 parent a084f03 commit 47f951d

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/compas_ghpython/artists/networkartist.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,3 +95,13 @@ def draw_edges(self, edges=None, color=None):
9595
'name': "{}.edge.{}-{}".format(self.network.name, u, v)
9696
})
9797
return compas_ghpython.draw_lines(lines)
98+
99+
def clear_edges(self):
100+
"""GH Artists are state-less. Therefore, clear does not have any effect.
101+
"""
102+
pass
103+
104+
def clear_nodes(self):
105+
"""GH Artists are state-less. Therefore, clear does not have any effect.
106+
"""
107+
pass

0 commit comments

Comments
 (0)