Skip to content

add support to show the filename as title and some fixes#49

Open
lumean wants to merge 1 commit intotuunit:mainfrom
lumean:feat/toolbar_title
Open

add support to show the filename as title and some fixes#49
lumean wants to merge 1 commit intotuunit:mainfrom
lumean:feat/toolbar_title

Conversation

@lumean
Copy link

@lumean lumean commented Jan 23, 2026

Hi @tuunit
I hope this time no merge conflicts ;-)

This is to add support of showing the filename in the toolbar.
image

  • add documentation to fix toolbar button corruption issue when toolbar is too small, by increasing minwidth in javascript
GraphViewer.prototype.minWidth = 500;
image
  • fix duplicate display of external graphs
test

![](https://raw.githubusercontent.com/jgraph/drawio-diagrams/dev/examples/kanban-examples.drawio)

test
image

You can see it overlaps the second test. Something leads to duplicate display of the content with the material theme and the javascript GraphViewer.processElements(), by adding reload() this was fixed for me. I'm by no means a javascript expert, so feel free to change if you have a better solution.

…oolbar button corruption issue when toolbar is too small, fix duplicate display of external graphs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant