Compare commits
No commits in common. "3b25d68f1eb922c04e41595fc18659168e179d01" and "2c724598e97d495ccc52499317c6c00b14ec97c9" have entirely different histories.
3b25d68f1e
...
2c724598e9
25
TODO.md
25
TODO.md
@ -1,25 +0,0 @@
|
|||||||
# TODO
|
|
||||||
|
|
||||||
- [x] Basic participants
|
|
||||||
- [x] Basic sequences
|
|
||||||
- [x] Separators
|
|
||||||
- [x] Gaps
|
|
||||||
- [x] Groups
|
|
||||||
- [x] Self arrows
|
|
||||||
- [x] Arrow from start / to end, small arrows
|
|
||||||
- [x] Lifelines
|
|
||||||
- [x] Different types of participants
|
|
||||||
- [x] Notes
|
|
||||||
- [ ] Synchronized arrows
|
|
||||||
- [ ] Slanted arrows
|
|
||||||
- [ ] Different types of arrow tips (WIP)
|
|
||||||
- [ ] Fix column spacing with notes over multiple columns
|
|
||||||
- [ ] Fix notes with arrows from start / to end / small arrows
|
|
||||||
- [ ] Fix group size with self arrows + notes
|
|
||||||
- [ ] Unify styling structure
|
|
||||||
- [ ] Add args verification to catch user errors + pretty error messages
|
|
||||||
- [ ] PlantUML parser
|
|
||||||
- [ ] (Message numbering)
|
|
||||||
- [ ] Different types of groups (alt/loop/etc.)
|
|
||||||
- [ ] Delays
|
|
||||||
- [ ] Auto-fit in parent
|
|
Binary file not shown.
@ -136,10 +136,3 @@
|
|||||||
_seq("[", "a", comment: [Test])
|
_seq("[", "a", comment: [Test])
|
||||||
_note("left", [This is also a note])
|
_note("left", [This is also a note])
|
||||||
})*/
|
})*/
|
||||||
|
|
||||||
#pagebreak()
|
|
||||||
|
|
||||||
#chronos.diagram({
|
|
||||||
_seq("Bob", "Alice", comment: [Hello])
|
|
||||||
_evt("Other", "create")
|
|
||||||
})
|
|
@ -123,16 +123,6 @@
|
|||||||
elmt: elmt,
|
elmt: elmt,
|
||||||
i: i
|
i: i
|
||||||
)
|
)
|
||||||
} else if elmt.type == "evt" {
|
|
||||||
let par = elmt.participant
|
|
||||||
if not participant._exists(participants, par) {
|
|
||||||
let p = _par(par, from-start: elmt.event != "create").first()
|
|
||||||
participants.push(p)
|
|
||||||
|
|
||||||
} else if elmt.event == "create" {
|
|
||||||
let i = participants.position(p => p.name == par)
|
|
||||||
participants.at(i).from-start = false
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
linked = linked.dedup()
|
linked = linked.dedup()
|
||||||
|
@ -279,7 +279,6 @@
|
|||||||
line.lines.push(("enable", y, elmt.lifeline-style))
|
line.lines.push(("enable", y, elmt.lifeline-style))
|
||||||
|
|
||||||
} else if elmt.event == "create" {
|
} else if elmt.event == "create" {
|
||||||
y -= CREATE-OFFSET
|
|
||||||
shapes += participant.render(x-pos, par, y: y)
|
shapes += participant.render(x-pos, par, y: y)
|
||||||
line.lines.push(("create", y))
|
line.lines.push(("create", y))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user