Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

META: Feature Model View and SVG Export #16

Open
5 tasks
h3ssto opened this issue Dec 11, 2023 · 0 comments
Open
5 tasks

META: Feature Model View and SVG Export #16

h3ssto opened this issue Dec 11, 2023 · 0 comments
Assignees
Labels
cosmetic bug - it works but looks kinda weird enhancement enhancement or feature requests

Comments

@h3ssto
Copy link

h3ssto commented Dec 11, 2023

TODO:

  • Mark items as implemented in viewer ( 🍍 ) and fm2svg ( 🍆 )
    • Viewer: Implemented and available through UI
    • fm2svg: Implemented and supported by API
  • Discuss list with @LukasOsti @tomatenhans
  • Breakout issues for bugged ( 🐞 ), missing features ( 🔍 )

We plan to support the following list of styling options for coFMed:

Styling Options

Layouting

Direction

XOR

  • horizontal 🍍 🍆
  • vertical
    • with overlaps
    • without overlaps 🍍 🍆

Meta Collapsing

XOR - top to bottom, left to right

  • Show n features
    • Breadt-First, Depth-First

Collapsing of Levels

XOR

  • Max levels (top-aligned), open the first n levels 🍍
  • Set of levels, e.g., {1, 4, 5} -> Levels 1, 4, 5 uncollapsed, rest collapsed
    • Requires vertical collapsing in between #14

Collapsing of Children

Basic rule: left-aligned, collapse right to left

  • Max children, e.g., 3 -> Maximum number of children per feature is 3 🍍
  • Max total children, e.g., 7 -> Show at most 7 features in a level

Draw Distance

  • Level Distance 🍍 🍆
  • Sibling Distance 🍍 🍆

Coloring

Color Schemes

Draw, Fill, Text Color, Text Style

  • variability.dev 🍍 🍆
  • FeatureIDE (todo)
  • High Contrast ...
  • By css

Options

  • Background 🍆
  • Feature
    • Default 🍆
    • Abstract 🍆
    • Marked
  • Anomaly Features (requires solver)
    • Core
    • Dead
    • False-Optional
  • Edges
    • Default
    • Marked
  • Anomaly Features (requires solver)
    • False-Optional
    • ...
  • Others
    • Collapsed Triangle & Collapsed Placeholder
      • Border = Feature
      • Text = Feature Text
      • Fill = Feature

Text

Color + Style

  • Feature
    • Default 🍆
    • Abstract 🍆
    • Marked
  • Anomaly Features (requires solver)
    • Core
    • Dead
    • False-Optional

Misc

  • Short Names 🍍 🍆
@h3ssto h3ssto added cosmetic bug - it works but looks kinda weird enhancement enhancement or feature requests labels Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cosmetic bug - it works but looks kinda weird enhancement enhancement or feature requests
Projects
None yet
Development

No branches or pull requests

4 participants