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

Generating readable big network maps ? #3

Closed
tk0miya opened this issue May 6, 2018 · 3 comments
Closed

Generating readable big network maps ? #3

tk0miya opened this issue May 6, 2018 · 3 comments
Labels
bug Something isn't working invalid This doesn't seem right

Comments

@tk0miya
Copy link
Contributor

tk0miya commented May 6, 2018

Hi,

I have a network with 55 segments, I'm selecting only one host by network topology (if there are X hosts with interfaces in netA, netB, and netC, for example, only the first will be in the diagram)

My problem is that the layout is not too big, and letters are very small, and i can't zoom and get it readable.

I'm trying to generate a pdf, evince read it ok (but I can't read letters clearly). trying to open the svg generated file with eog, hang eog.

I'm attaching an anonimated diagram which I hope will understand you what I am saying :)

Do you know any workarround ?

Thank you making this kind of software possible !


@tk0miya tk0miya added bug Something isn't working invalid This doesn't seem right labels May 6, 2018
@tk0miya tk0miya closed this as completed May 6, 2018
@tk0miya
Copy link
Contributor Author

tk0miya commented May 6, 2018

From Takayuki Shimizukawa on 2010-09-30 04:27:25+00:00

前述のページに掲載されていたもう一つの方法、2値画像への文字描画を用いた解決方法について、 non-antialiased-text ブランチを作成してコミットしました。ただし、fill=(0,0,0)ではエラーとなるため(2値だから?)、filll='#000' で逃げています。

mode について詳しくはこちら。 http://www.pythonware.com/library/pil/handbook/concepts.htm

現在の実装は文字背景色白、文字色黒、で固定実装しています。どちらも色を変えたいと思った場合は文字描画後に色を変換するような仕組みを考える必要がありそうです。

@tk0miya
Copy link
Contributor Author

tk0miya commented May 6, 2018

From Takeshi KOMIYA on 2010-09-30 04:41:07+00:00

ノードの背景が白固定となってしまうのは、color 属性や background 属性と
明らかにバッティングするのでそのままでは採用できません。
多少変換コストがかかったとしても、ユーザの指定を優先にしたいと考えています。

マスクを使って文字を転写するなど何かいいアイディアがないでしょうか。

@tk0miya
Copy link
Contributor Author

tk0miya commented May 6, 2018

From Takeshi KOMIYA on 2012-03-16 09:02:43+00:00

Fixed in [[https://bitbucket.org/tk0miya/seqdiag/changeset/311c2b2c4643|311c2b2c4643]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working invalid This doesn't seem right
Projects
None yet
Development

No branches or pull requests

1 participant