Git Product home page Git Product logo

Comments (12)

Francois-Laberge-Bose avatar Francois-Laberge-Bose commented on May 18, 2024

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.

realtime-diagrams

Potentially it would be something like the first line if a comment with a certain convention for specifying stylesheets.

from diagrams.

Francois-Laberge-Bose avatar Francois-Laberge-Bose commented on May 18, 2024

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.

Relequestual avatar Relequestual commented on May 18, 2024

@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.

Francois-Laberge-Bose avatar Francois-Laberge-Bose commented on May 18, 2024

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.

Relequestual avatar Relequestual commented on May 18, 2024

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.

Francois-Laberge-Bose avatar Francois-Laberge-Bose commented on May 18, 2024

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.

Relequestual avatar Relequestual commented on May 18, 2024

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.

Francois-Laberge-Bose avatar Francois-Laberge-Bose commented on May 18, 2024

from diagrams.

Relequestual avatar Relequestual commented on May 18, 2024

Sublime Text =]
One of the few viable options before Atom and after Notepad++

from diagrams.

seflless avatar seflless commented on May 18, 2024

from diagrams.

seflless avatar seflless commented on May 18, 2024

from diagrams.

Relequestual avatar Relequestual commented on May 18, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.