ZenUml is an online tool generating UML Sequence Diagram from a C-like DSL. This repository is used to track defects, suggestions and feature request.
Here is an example:
The ZenUML renderer
Home Page: https://embed.zenuml.com
License: MIT License
ZenUml is an online tool generating UML Sequence Diagram from a C-like DSL. This repository is used to track defects, suggestions and feature request.
Here is an example:
When the diagram is big and not all participants can be seen (either moved out vertically or horizontally), we should provide a mechanism to show the participants when user's mouse is hovering on a message.
Here are a few options:
A->B: M {
...
}
Tailwindcss leaks to global. When we import the vue-sequence.css, it applies !important to all tailwind css classes which override hosting page's css.
x = A.m {
return y
}
Viewing Only
Persisting toggles
When viewing a Sequence Diagram, sometimes, some details (be it messages, fragments or branches) become distractions. Users may want to temporarily hide it.
The meaning of "hide" is important. We need to carefully design the hidden section so it does not continue distracting users' attention but still providing some indicator (and maybe some information) on what is going on there. A few example's must be provided.
For example
// A user or an application who/which owns a protected resource on the _Resource Server_
"Resource Owner (user)"
OR
Client // The client or third party application requests access to the resources
An example with tailwind component:
<div class="p-20">
<div class="mt-60">
<div class="group relative inline-block rounded-lg text-[0.8125rem] leading-5 ring-2 ring-indigo-600 duration-300 hover:bg-slate-50 hover:text-red-500">
<!-- Tooltip text here -->
<span class="absolute min-w-[200px] rounded-lg -translate-y-full bg-gray-700 px-2 py-1 text-center text-sm text-white group-hover:flex">A user or an application who/which owns a protected resource on the _Resource Server_</span>
<div class="p-4 font-medium text-slate-900">Resource</div>
</div>
</div>
</div>
const order = await OrderRepository.createOrder()
When users use the above line, const
is parsed as a participant; await
is parsed as a method. For those very common keywords, we should at least allow them.
We should send them to a TYPE
channel or ASYNC_CHANNEL
(or METHOD_MODIFIER
?).
The error message printed in console is not helpful for the below code:
new A() {
C.m() {
}
Error: line 1:8 mismatched input '{' expecting
For this syntax: === divider should allow space ===
.
new A(x) {
if (condition){
B.method()
}
}
It also has impact on other fragment components:
It does not have impact on:
This is a useful feature that applies to most of our products if not all.
[]yyy
[x]yyy
// [red]
A.method()
Should render the message in red.
We can do a lot more with this syntax.
tailwind css and shortcuts can be used:
plus no reset to 100% when clicking the middle.
This is an EPIC. It has a lot of subtasks. Make sure that the documentation is accessible from where it is needed (Tooltip footer is an option)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.