Coder Social home page Coder Social logo

ton-lankveld / flowchart-definition-format Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 58 KB

As I could not find a good (XML) file format to define a flowchart, I scratched my brain itch and designed my own. Feel free to ignore it.

License: MIT License

xml flowcharts fileformat mit-license

flowchart-definition-format's Introduction

Flowchart Definition Format

Description

As I could not find a good (XML) file format to define a flowchart, I scratched my brain itch and designed my own. Feel free to ignore it.

Scope

The definition only describes the structure of the flowchart and not the graphic rendering. Not only for the classic software development, but also for work or process flows.

To-Do

  • Define Document Type Definition (DTD) or XML Schema Definition (XSD).
  • Create tools/applications to analyze DTD's.

Discussions

Start Object

As long as there is just one start point of a flowchart, the first object in the file is the start of the chart. If a chart has more the one start points, a "start" object is required. For example:

<start id="">
  <next></next>
</start>

Style Sheet

How a flowchart is rendered is not a part of the definition, but I like to offer my ideas for a graphical render application. To define the grafical symbols, a Scalable Vector Graphic (SVG) file with the required symbols will provide the drawing data and the default style. The style of the symbols, or deviations to the default style, can be captured in a Cascading Style Sheet (CSS) file. The user of the render application can edit the SVG and CSS files to change the graphics.

Rendering

For JavaScript [obfc.js]https://github.com/erdincuzun/obfc.js can be used to render the flowchart.

Contribution

If you got suggestions, comments or remarks, please mail them to []mailto:[email protected]?subject:Flowchart-Definition-Format .

flowchart-definition-format's People

Contributors

ton-lankveld avatar

Watchers

 avatar

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.