Custom node

Forums 💬 FlowCanvas ⚙️ Support Custom node

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #22576
    chocolacode
    Participant

      Hello,

      I am creating a new custom node.
      I want to assign an icon next to
      the node name, similar to
      the custom event nodes

      How can I do that?

      Thanks!

      #22577
      Gavalakis
      Keymaster

        Hey,

        Nodes do not really support icons next to their names. The “icon” shown on the left of the Event nodes, are not really image icons, but rather just a special font character 🙂
        For example: http://www.utf8icons.com/

        On the other hand, you can have image icons display on nodes if you want to, but not next to their name, but rather in place of their name (replacing the text name). To do this, you can simply add the Icon attribute above your custom node class like [Icon("MyIconName")], where “MyIconName” should be an image file found under a “Resources” named folder in the project.

        Let me know if that works for you 🙂
        Cheers!

      Viewing 2 posts - 1 through 2 (of 2 total)
      • You must be logged in to reply to this topic.