pyflowchart icon indicating copy to clipboard operation
pyflowchart copied to clipboard

Nodes: white spaces and shpes

Open KaYanFanKenny opened this issue 1 year ago • 1 comments

Hi all, I am using version 0.3.1 of pyflowchart and got two problems when creating my own flow chart.

First, I would like to change the shapes of the node. I searched around the source files and could spot the codes for changing the fill colours, font size etc and not the shapes of node. May I know where is this line?

Second, when creating my flowcharts, the white spaces in the text of each node become new lines. For example, when I have some node like : st3=>start: start my function The text in the output svg or png image will becomes:

start my function

I tried to search for some encoding issue when in the block of creating svg image, but failed. May I know how to solve it ?

I would be grateful if any expert could offer me with some advice. Thanks

Kenny

KaYanFanKenny avatar Apr 15 '24 10:04 KaYanFanKenny

Since pyflowchart is outputting the flowchart.js representation of the diagram, you can always edit the generated flowchart codes to customize styles. https://flowchart.js.org includes detailed examples showing how you can make it.

cdfmlr avatar Apr 16 '24 00:04 cdfmlr