eugene-manuilov/typeorm-uml

Improve PlantUML statements when using `--with-table-names-only` option

micalevisk opened this issue · 0 comments

Hi! When we use the --with-table-names-only flag, since entities names won't be displayed, I think it would be nice to remove them from the output puml diagram's code

Current behavior

Now ... -f puml --with-table-names-only produces lines like table( UserEntity, User ) as User

Expected

To generate lines like table( User ) which will leads to the same image but with less bytes.

Note that this implies changing this following func as well

protected * defineTable(): IterableIterator<string> {

Do you think this is feasible?