elyukai / optolith-client

Optolith Character Manager is a desktop application for The Dark Eye 5th Edition.
https://optolith.app
Other
162 stars 44 forks source link

Dependency tree #302

Open elyukai opened 4 years ago

elyukai commented 4 years ago

ich wiederhole einen Punk einfach noch einmal, weil der in meinen Augen echt wichtig ist: Abhängigkeiten. Mir ist erst durch ausprobieren aufgefallen, dass es bei den Ringzaubern für den Geoden (und auch bei ganz vielen anderen Dingen) Zauber/Sonderfertigkeiten gibt, die andere Dinge voraussetzen. Diese sollten, selbst wenn die Voraussetzung nicht erfüllt ist, angezeigt werden, damit man das überhaupt (als Anfänger) weiß. Ich habe dann bei den Ringzaubern nach und nach alles mal ausgewählt um zu sehen, was es überhaupt alles gibt (und die werden ja erst angezeigt, wenn man die Voraussetzung erfüllt hat). 9a ich glaube am schönsten wäre echt ein Abhängigkeitsbaum :smile:

Knigge on Discord

michaelpoellath commented 3 years ago

Upvoting this 👍 It would be fantastic to have some visual dependency tree for skills in DSA. Especially as a beginner its quite difficult to figure out what prerequisites are necessary/missing and what skills would be available later on.

Something in the direction of https://www.orkenspalter.de/filebase/index.php?file/1989-dsa-4-1-sf-baum/ would be great. Do you have any plans for a feature like this ?

elyukai commented 3 years ago

@michaelpoellath Actually, when I thought of a tree like this I had that PDF in mind, too! 😅 So yeah, I think it would and should be like that.

I don't have any plans for the near future, since it would be too much work right now and there are too many other things to do (like AMA3). Also, the problem is, I'd need to have some kind of layouting algorithm which would make it possible to generate that structure "conceptually" – I dont think that the plain visual appearance would be that difficult, although the UI might get a little laggy, we'll see (1400+ special abilities in ~30 publications and with ~20 publications still missing in the database …).

pickbreaker commented 3 years ago

Vllt. wäre PlantUML eine gute Lösung für das Layout? Code-Link

UML
elyukai commented 3 years ago

The question is how I could use this to generate HTML nodes. From what I read this can only generate images, but images would need to be styled, which I cannot do in the app, and it also does not make it extendable. But, in general, using a third-party algorithm would make things way easier, thats for sure!

michaelpoellath commented 3 years ago

@elyukai Thanks for the response !

I assumed it could be a feature which can be tackled in small iterations. A whole graph over all abilities is anyways too overloaded. I see two possibilties:

For rendering a library in the direction of https://reactflow.dev/ could be of interest. Its quite nice and allows you to customize nodes / edges. It also scales quite well. Check out the Examples, quite impressive imo.