Skip to content

Commit

Permalink
feat: allow Node arguments to be passed to Custom Node (mingrammer#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
bra-fsn authored and ngruelaneo committed Nov 25, 2022
1 parent 106411a commit ec11a31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions diagrams/custom/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ class Custom(Node):
def _load_icon(self):
return self._icon

def __init__(self, label, icon_path):
def __init__(self, label, icon_path, *args, **kwargs):
self._icon = icon_path
super().__init__(label)
super().__init__(label, *args, **kwargs)

0 comments on commit ec11a31

Please sign in to comment.