-
Notifications
You must be signed in to change notification settings - Fork 31
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
Blocks with unicode characters are rendered misaligned #331
Comments
Yes, this is caused by an issue in the viz.js library that is hard to debug. This is also causing #138 and #214. It would be great if anyone would spend some time digging into the compilation of Viz.js to find out what is going wrong there (see link above for further details).
I am hesitant to apply the "hacky" workaround described there. |
Why do you use Viz, when there is Dagre? |
Good question. The situation regarding rank-based layout algorithms for Javascript is really bad: Viz.js' original developer called it a "hack" and recommended to use Dagre D3 (he subsequently abandoned the project, luckily a fork is still being actively maintained). But Dagre-D3 has not been maintained either for quite a while and is now "deprecated". Dagre-D3 always lacked many features of Viz.js so it never was a good alternative. But now it looks like it is kind of dead. yGraph offers probably the best layout algorithms, but is a commercial project. The only good alternative I know of is Cytoscape, because they also support the Dagre layout algorithm. I really would like to switch and use the Dagre layout in their framework (instead of using D3). If I have time for a bigger Argdown-related project this would be at the top of my list. For the next months, I will probably not have the time to do this. But if anyone wants to tackle it, I will be glad to help where I can. |
I wonder why you didn't use Graphviz at the first place? Is it that you
want a JS lib to be able to embed to website? How about D3-Graphviz or
Vis.js?
…On Thu, Mar 10, 2022, 01:31 Christian Voigt ***@***.***> wrote:
Good question. The situation regarding rank-based layout algorithms for
Javascript is really bad: Viz.js' original developer called it a "hack" and
recommended to use Dagre D3 (he subsequently abandoned the project, luckily
a fork is still being actively maintained). But Dagre-D3 has not been
maintained either for quite a while and is now called "deprecated".
Dagre-D3 always lacked many features of Viz.js so it never was a good
alternative. But now it looks like it is kind of dead.
yJs offers probably the best layout algorithms, but is a commercial
project.
The only good alternative I know of is Cytoscape
<https://js.cytoscape.org/>, because they also support the Dagre layout
algorithm. I really would like to switch and use the Dagre layout in their
framework (instead of using D3). If I have time for a bigger
Argdown-related project this would be at the top of my list. For the next
months, I will probably not have the time to do this. But if anyone wants
to tackle it, I will be glad to help where I can.
—
Reply to this email directly, view it on GitHub
<#331 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABTCUXJ4YFFP3EAIYBEAQA3U7DVALANCNFSM5QJSHZGA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Here is the sandbox link
The text was updated successfully, but these errors were encountered: