Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nodes: white spaces and shpes #31

Open
KaYanFanKenny opened this issue Apr 15, 2024 · 1 comment
Open

Nodes: white spaces and shpes #31

KaYanFanKenny opened this issue Apr 15, 2024 · 1 comment

Comments

@KaYanFanKenny
Copy link

KaYanFanKenny commented Apr 15, 2024

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

@cdfmlr
Copy link
Owner

cdfmlr commented Apr 16, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants