How to increase p:mindmap component ellipse size ?

UI Components for JSF
Post Reply
lucianoveleta
Posts: 10
Joined: 23 May 2016, 20:50

27 Jun 2019, 15:12

Hello community

I'm using the p:mindmap and would like help to increase the size of the ellipse.


Thank you for helping me.

rider
Posts: 497
Joined: 05 Mar 2010, 13:17

24 Jun 2021, 21:04

does anybody got help here?
Primefaces 12.0, WildFly 21

Melloware
Posts: 3717
Joined: 22 Apr 2013, 15:48

25 Jun 2021, 15:39

Right now it looks like its hard coded in the JavaScript as 40x25 pixels. You can submit an enhancement request on GitHub to make those configuration values of the component.

Code: Select all

 var node = this.raphael.ellipse(x, y, 40, 25).attr('opacity', 0)
                            .data('model', model)
                            .data('connections', [])
                            .data('widget', this.cfg.widgetVar);
PrimeFaces Developer | PrimeFaces Extensions Developer
GitHub Profile: https://github.com/melloware
PrimeFaces Elite 13.0.0 / PF Extensions 13.0.0
PrimeReact 9.6.1

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: Google [Bot] and 65 guests