Comments (12)
For now I'd prefer not to merge, but I agree this is needed. I'm just too busy to evaluate forks at the moment. My thought on this is I was hoping that styling information is included in the .flowchart
and other source files instead. This way all information is stored in the top most file. This way I could make the real time visualization supported in the Atom plugin (francoislaberge/atom-diagrams) to see things including the related styling.
Potentially it would be something like the first line if a comment with a certain convention for specifying stylesheets.
from diagrams.
Also, I was hoping to standardize potentially on a nicer syntax than css, but then again css makes the most sense. Potentially I could add explicit or optional support for css preprocessors like sass, less, stylus, etc.
from diagrams.
@Francois-Laberge-Bose Have you had any further thoughts on this?
I know CSS might not feel like the best way, but given this is a downstream tool, wouldn't it make sense to support what's upstream already? It would be super frustrating for someone who wants to use an existing theme, having to re-encode it in JSON (or whatever) from the provided CSS.
from diagrams.
I'm just too busy to think about any of my open source projects at the moment. I originally set out to bootstrap this project with other projects, and then was going to redo the syntax and make my own implementation of each type of graph generator using a consistent syntax across all of them. I'm now thinking I may not get back to this, so yeah, pragmatically adding support for css would be high value, and the right thing for now.
If you create a PR and have a good description of the work, I'll take a look and maybe merge. Just so long as it's optional to use the css, and acts the same as before when you don't provide it, then I'm happy to review if it's not too complicated.
I'm a new dad and have an awesome job, so I tend to have no time for my open source projects lately.
from diagrams.
Totally understand! Congratulations on both accounts! It's tough, but hopefully you'll find it rewarding as so many of us do! =D
I think I've decided to draw my diagrams up by hand, as I otherwise won't be able to meet my deadline. Plus I'm having doubts over the automated approach in terms of if being accessible for others to modify.
Appreciate your previous work on this though! Obviously the licence means anyone is welcome to fork and publish under another name on npm.
from diagrams.
Thanks! Exactly, fork away.
Have you seen my https://github.com/francoislaberge/atom-diagrams plugin? Makes it easier to have people contribute. Though, I don't support flow diagrams at the moment I believe
from diagrams.
I have, but I don't use Atom. (ST, but expect to be moving to Code some time.)
My main barrier to usage is there's no way to tell if there's been a syntax error or not. There's no error reporting in the case of a syntax error. I assume there's some console error if the library can't digest the passed data.
from diagrams.
from diagrams.
Sublime Text =]
One of the few viable options before Atom and after Notepad++
from diagrams.
from diagrams.
from diagrams.
Not a bad idea, but then it wouldn't give me the benefit I was using a cli for... useability by others. I don't want to require others to download atom and a plugin to update an image. npm install however, as in run a script, is probably OK.
Manual approach is going OK though, and most people have office.
from diagrams.
Related Issues (20)
- install on win HOT 2
- CLI hangs on rendering sequence diagrams, but works with flowcharts HOT 6
- Add ability to change theme HOT 1
- Flowcharts have issues with looping back flow
- flowchart out of date HOT 3
- npm 16 high vulnerabilities
- CLI hangs on rendering flowchart diagrams, but works with sequence HOT 5
- Sequence diagram: word 'Participant' causes an exception
- Invalid asm.js: Function definition doesn't match use
- *.svg files are not generating properly
- CLI hangs when rendering flowchart diagram with bad input
- All previews do not load.
- NPM Install results in multiple high vulnerabilities HOT 3
- Valid flowchart code works in browser demo, but mangled on terminal HOT 1
- Unable to create .svg from .flowchart HOT 1
- Installation fails on Apple Silicon (M1) HOT 1
- Installation fails on rocky linux.
- Only the first line in input.flowchart was created to .svg
- Only the first three lines of the input.flowchart are created as.svg
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from diagrams.