Railroad diagram tool




















Search PyPI Search. Latest version Released: Jul 13, Navigation Project description Release history Download files. Project links Homepage. Meta License: CC0 1. Maintainers tabatkins.

Classifiers License CC0 1. The Diagram constructor also optionally takes some keyword arguments: css : If passed, is the CSS you would like the diagram to include.

Components Components are either leaves containing only text or similar or containers containing other components. The leaves: Terminal text, href? Comment text, href - a comment. The containers: Sequence VS - sets the minimum amount of vertical separation between two items, in CSS px. Note that the stroke width isn't counted when computing the separation; this shouldn't be relevant unless you have a very small separation or very large stroke width. Defaults to 8. This has a relatively large effect on the size of non-trivial diagrams.

Both tight and loose values look good, depending on what you're going for. Defaults to Defaults to "railroad-diagram". Due to rasterization artifacts, they look best when the item has been translated half a pixel in both directions. If you change the styling to use a stroke with even pixel lengths, you'll want to set this variable to False. Defaults to "center" , but can be set to "left" or "right". Defaults to 7. DEBUG - if True , writes some additional "debug information" into the attributes of elements in the output, to help debug sizing issues.

Defaults to False. License This document and all associated files in the github project are licensed under CC0. Project details Project links Homepage. Download files Download the file for your platform. Files for railroad-diagrams, version 1. I know there are tools out there but I would say that the generator from bottlecaps. Unfortunately I could not get source code of the tool it self there. I went also to the related questions of answers here but got only followings where we can get it as open source js library and provided with an online demo where we can try and play with.

One of the things that IBM's railroad track generator handles well is default values. I have not seen another generator that does this. I found J-algo tool. I think it is very easy to draw diagram but I can't export to image or another type.

Railroad diagrams are often used in mainframe documentation. Stack Overflow for Teams — Collaborate and share knowledge with a private group. Create a free Team What is Teams? Collectives on Stack Overflow. Learn more. Asked 12 years, 8 months ago. Active 8 months ago. Viewed 29k times. Improve this question. Potherca Add a comment. Active Oldest Votes. You have to type in the grammar and it'll make the diagram. Check out some of the example diagrams on the page.

Improve this answer. Peter Ajtai Peter Ajtai SCARM 1. Included Track Libraries. Data accuracy is not guaranteed. More libraries will come soon. Join us on the social sites, share your comments and stay up-to-date with all news and events, related to SCARM software. Languages and Translations.



0コメント

  • 1000 / 1000