Remove Double Arrow Icon from Nested Node

Having problems with IHMC CmapTools? Think you have found a bug? Let us know!
Forum rules
Before you post a problem or bug, please be sure you have included the version number of IHMC CmapTools, the operating system and version, the amount of RAM, and any other information that allows us to be able to replicate the problem you are having. (i.e. what were you doing when the problem occur? were you running another program (application) by the time you have the problem?)
Post Reply
syee02
Posts: 2
Joined: Mon Jun 21, 2010 2:55 pm

Remove Double Arrow Icon from Nested Node

Post by syee02 »

We frequently export cmaps with nested nodes as images or webpages to share with clients, and inevitably people are confused by the non-functioning, double arrow on the right side of nested boxes.

Other than manually removing with Adobe Photoshop, is there some way to remove the nested box double arrow within CMAPTools Software? I am thinking, for example, to replace the double arrow icon with an "invisible" icon.

For that matter, is there any flexibility to edit the icons available for resource links [to other cmaps or data] to user-defined icons?
acanas
Posts: 753
Joined: Tue Mar 17, 2009 5:52 pm

Re: Remove Double Arrow Icon from Nested Node

Post by acanas »

No, there is nothing that can be done about displaying the nested nodes.
vesjolovam
Posts: 5
Joined: Tue Nov 07, 2023 3:32 pm

Re: Remove Double Arrow Icon from Nested Node

Post by vesjolovam »

There is a hacky (and of questionable legality*) workaround though: those icons are created based on the shrinkBigNode.gif and expandBigNode.gif icons located in the
[your CmapTools installation folder]\classes\nlk.jar
(e.g. the default path on Windows is C:\Program Files\IHMC CmapTools\classes\nlk.jar)
file at the
nlk\util\images\minibar\
internal path. If you just delete them by editing that JAR file with some archiver that supports Java Archives (e.g. 7-Zip), they are not going to be drawn anymore and the program will still function normally (though you wouldn't be able to expand/collapse the nested nodes by clicking that icon anymore, you would have to use the other ways like the right click menu or the Tools menu). You could also replace the other icons located there in that JAR file and everything would likely function fine.

—————
* Strictly speaking, this would violate article 3 of the license agreement, so one should probably not be using this any way other than personal (i.e. no sharing of the modified program nor the artifacts produced using it).

EDIT: Actually, having tried this solution, just deleting those icons seems to cause a lot of unnecessary output operations (mostly the error reports about being unable to find the icon) leading to a lot of lagging, so if you want to visually remove the icon without affecting the performance of the program, replace it with a fully transparent one.
suretype
Posts: 2
Joined: Mon Dec 11, 2023 11:19 pm

Re: Remove Double Arrow Icon from Nested Node

Post by suretype »

there is no solution for displaying nested buttons. :roll: :roll:basketball stars
climatestray
Posts: 1
Joined: Mon Dec 18, 2023 2:24 am

Re: Remove Double Arrow Icon from Nested Node

Post by climatestray »

vesjolovam wrote: Sun Nov 19, 2023 5:33 am There is a hacky (and of questionable legality*) workaround though: those icons are created based on the shrinkBigNode.gif and expandBigNode.gif icons located in the
[your CmapTools installation folder]\classes\nlk.jareggy car
(e.g. the default path on Windows is C:\Program Files\IHMC CmapTools\classes\nlk.jar)
file at the
nlk\util\images\minibar\
internal path. If you just delete them by editing that JAR file with some archiver that supports Java Archives (e.g. 7-Zip), they are not going to be drawn anymore and the program will still function normally (though you wouldn't be able to expand/collapse the nested nodes by clicking that icon anymore, you would have to use the other ways like the right click menu or the Tools menu). You could also replace the other icons located there in that JAR file and everything would likely function fine.

—————
* Strictly speaking, this would violate article 3 of the license agreement, so one should probably not be using this any way other than personal (i.e. no sharing of the modified program nor the artifacts produced using it).

EDIT: Actually, having tried this solution, just deleting those icons seems to cause a lot of unnecessary output operations (mostly the error reports about being unable to find the icon) leading to a lot of lagging, so if you want to visually remove the icon without affecting the performance of the program, replace it with a fully transparent one.
Thanks for the solution, just replace the other symbols located in the JAR file, it worked fine for me. :)
polinkuer12
Posts: 1
Joined: Mon Jan 15, 2024 11:20 pm

Re: Remove Double Arrow Icon from Nested Node

Post by polinkuer12 »

i tried this solution. it doesn't seem to completely fix the problem
Quick Draw
User avatar
Thomasscasp
Posts: 4
Joined: Thu Feb 08, 2024 10:43 pm

Thank you everybody!

Post by Thomasscasp »

Extremely excited to join this gathering! The enthusiasm and informative viewpoints are good. The info presented is phenomenal!

Thanks all!
User avatar
Thomasscasp
Posts: 4
Joined: Thu Feb 08, 2024 10:43 pm

Thank you everyone!

Post by Thomasscasp »

Entirely enjoyed exist! The enthusiasm and thoughtful engagement are really inspiring. The information shared is fantastic!

Thank you all!
User avatar
Thomasscasp
Posts: 4
Joined: Thu Feb 08, 2024 10:43 pm

Have a fantastic day!

Post by Thomasscasp »

Radiantly happy to be present! The enthusiasm and cautious factor to consider are truly appreciated. The detail shared is fantastic!

Have a great day!
User avatar
Thomasscasp
Posts: 4
Joined: Thu Feb 08, 2024 10:43 pm

Thank you everybody!

Post by Thomasscasp »

Absolutely breaking with happiness to be here! The interest and cautious factor to consider are commendable. The quality of info presented is great!

Thank you everyone!
Post Reply