Allow not significant space or indentation (on the beginning of the lines) on mindmap diagram

0 votes
asked Oct 10 in Wanted features by The-Lu (10,120 points)

Hello PlantUML team,

  • Could you allow not significant space or indentation (on the beginning of the lines) on mindmap diagram?

Example:

@startmindmap
* r
** d1
 ** d2
@endmindmap


[See on PlantUML server]

Or:

@startmindmap
 * r
 ** d1
 ** d2
@endmindmap


[See on PlantUML server]

Or with 'Markdown syntax':

@startmindmap
 * r
  * d1
  * d2
@endmindmap


[See...]

Thanks for your support and improvement,
Regards,
Th.

commented Oct 27 by The-Lu (10,120 points)

Hello PlantUML team,

In fact, the main goal is to indent preprocessing code without incident:

  • With indentation, that is currently KO
@startmindmap
* root
!$arg=2
!while $arg!=0
  !$i=3
  ** $arg
  !while $i != 0
    *** $arg.$i
    !$i = $i - 1
  !endwhile
  !$arg = $arg - 1
!endwhile
@endmindmap


[See on PlantUML server]

  • Without indentation, that is OK wink
@startmindmap
* root
!$arg=2
!while $arg!=0
  !$i=3
** $arg
  !while $i != 0
*** $arg.$i
    !$i = $i - 1
  !endwhile
  !$arg = $arg - 1
!endwhile
@endmindmap


[See on PlantUML server]

Thanks for your support,
Regards,
Th.

1 Answer

0 votes
answered Nov 3 by plantuml (235,420 points)
selected 4 days ago by The-Lu
 
Best answer

Thanks for the feedback.

We have fixed this issue in last beta http://beta.plantuml.net/plantuml.jar and on the online server.

commented Nov 3 by The-Lu (10,120 points)

Thanks,... but

  • Could you allow not significant space or indentation for the root node also?
Here is an example:
  • With indentation, that is currently KO
@startmindmap
!procedure $foo($arg)
  * root
  !while $arg!=0
    !$i=3
    ** $arg
    !while $i!=0
      *** $arg.$i
      !$i = $i - 1
    !endwhile
    !$arg = $arg - 1
  !endwhile
!endprocedure

$foo(2)
@endmindmap


[See on PlantUML server]

  • Without indentation, that is OK 
@startmindmap
!procedure $foo($arg)
* root
  !while $arg!=0
    !$i=3
    ** $arg
    !while $i!=0
      *** $arg.$i
      !$i = $i - 1
    !endwhile
    !$arg = $arg - 1
  !endwhile
!endprocedure

$foo(2)
@endmindmap
Thanks for your support,
Regards,
Th.
commented Nov 5 by plantuml (235,420 points)
Thanks for the feedback.

The issue on first node should be fixed in last beta http://beta.plantuml.net/plantuml.jar

Regards,
commented 4 days ago by The-Lu (10,120 points)

Hello PlantUML team,

From PlantUML change (V1.2020.20) it seems that is corrected; but we observe always the issue:

  • Here are some minimal example:

1/ minimal example:

@startmindmap
  * first node
@endmindmap


[See on PlantUML server]


2/ with procedure:
@startmindmap
!procedure $foo($arg)
  * $arg
!endprocedure

$foo("this is the root")

footer Observed on v1.2020.20\n(current version: %version())
@endmindmap


[See on PlantUML server]


  • What is your correction for issue on root or first node?

Thank for your support,
Regards,
Th.

commented 4 days ago by plantuml (235,420 points)
Sorry, it was not completely corrected.

You have to use newly beta http://beta.plantuml.net/plantuml.jar

We have also updated the online server.

Thanks !
commented 4 days ago by The-Lu (10,120 points)
That is now perfect.
Thank a lot.
...