Allow "disable" function to the "ANY STATE"

NodeCanvas Forums General Discussion Allow "disable" function to the "ANY STATE"

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #11016
    chocolacode
    Participant

      Hi Gavalakis,

      Can you please add the disable function to the ANY STATE ,

      I tried by doing a right click but this is not present ,

      thanks

      #11018
      Gavalakis
      Keymaster

        Hello,

        Unfortunately that would not be very possible for the framework, because disable/enable state is relevant to the incoming connection/transitions, rather than the nodes themselves (unless I make some hacks specifically for the ANY STATE which I’d prefer to avoid though).
        If you want, you can rather disable specific transitions from the the ANY STATE and to the target states by selecting the transition and checking off the “Active” setting in it’s inspector panel.

        Please let me know if that works for you.
        Thanks

        #11021
        chocolacode
        Participant

          Hi Gavalakis,

          thanks for explaining, I understand. I tried what you suggested and that worked perfect!

          however when I click on a condition box, I have no visual indication which condition I am looking at.
          Normally when I click on a State node the tool shows a colored border around it, and that is nice! but in the case that I click on conditions there is no colored border or anything like that. Only if you pay attention to the inspector panel you see that the information changes every time you select a state node or a condition.

          Is it possible you can add a visual identification as to what condition is being selected?

          thanks in advance!

          #11023
          Gavalakis
          Keymaster

            Hey,
            The selected transition/connection is always thicker (more bold) than all the others. Do you mean something different?
            Let me know and thanks as well. 🙂

            #11024
            chocolacode
            Participant

              Hey,

              now that you mention it and I pay attention to that, I can see it. However I think that is not very noticeable
              May I suggest that also the line gets ticker and with a different shade? even if is the same violet color range…

              or if you can add a border color or font color change to the transition/connection square, not only the arrow line,

              thanks again!

              #11038
              chocolacode
              Participant

                Hey,

                I was playing around with the code and assigned a value of 1f for the Alpha Channel when connection is selected and now looks brighter :),

                do you think this would be helpful for the rest of the community? hopefully you can make this change in your code for next version?

                thanks!

                #11042
                Gavalakis
                Keymaster

                  Hey,

                  Sure 🙂 I will make the change as well so that it is brighter.
                  Thanks!

                  #11043
                  chocolacode
                  Participant

                    Hi there,

                    thank you!

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