question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ConditionNode alignment support

See original GitHub issue

Thank you a lot for the package. It is really useful for one of my use cases in work 😄

As raised in this issue, https://github.com/adrai/flowchart.js/issues/221, it would be great to allow the align-text option set for the condition node. It should be something easy to do to set a positional argument in the constructor for the ConditionNode(name, isAlign=True).

Can this be added quickly? If not, we can maybe do a PR if you point out the caveats 😄

Thought it we need to modify these two definitions? https://github.com/cdfmlr/pyflowchart/blob/e6694726f2522a0904dc1562563563aba7bf9d88/pyflowchart/node.py#L286 https://github.com/cdfmlr/pyflowchart/blob/e6694726f2522a0904dc1562563563aba7bf9d88/pyflowchart/node.py#L37

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
cdfmlrcommented, Feb 14, 2022

I believe this feature is fully supported in the latest v0.2.3 release.

You can upgrade and use it. See README or release notes for docs.

pip install pyflowchart==0.2.3

Reopen this issue if there are any related problems.

0reactions
angerhangcommented, Feb 14, 2022

Thank you so much!

Read more comments on GitHub >

github_iconTop Results From Across the Web

To assign fixed or pinned support conditions to nodes
To assign nodal supports as either fixed or pinned, use the following procedure. ... Select the nodes which will all have the same...
Read more >
Alignment Support - Intel
Developer guide and reference for users of the Intel® C++ Compiler Classic.
Read more >
ability to disable vertical alignment for condition symbol #115
I've noticed that when multiple elements are aligned the upper condition element is aligning to the left of the bottom right hand element....
Read more >
Tikz node alignment - TeX - LaTeX Stack Exchange
I want to align the data node with top/bottom of nodes A-D (i.e., red lines). \documentclass[10pt,a4paper,final]{report} \usepackage[utf8]{ ...
Read more >
Alignment condition - Dynamo Studio Video Tutorial - LinkedIn
[Instructor] In this video we'll consider how to construct a paneling scheme that meets a certain criteria, specifically an alignment condition of a...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found