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

Package name for chart svg #101

Merged
merged 3 commits into from Oct 11, 2012

Conversation

Trismegiste
Copy link

Hello,

I have added a feature to the SVG Instability / Abstraction.

My goal is to write the package's name on each "bubble".

Here it is a "first shot" for my needs but I think there's much to do (shorten the name, changing the size of the font etc.)

I hope you'll find this usefull. I have never work with SVG so, sorry I have misuse this format.

Needless to say, your work is great ! This is very usefull tools.

Florent


$result = preg_match('#\\\\([^\\\\]+)$#', $item['name'], $found);
if ($result && count($found)) {
$angle = rand(0, 314) / 100 - 1.57;
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've made this to randomize coordinates of name and somewhat prevent overlapping

manuelpichler added a commit that referenced this pull request Oct 11, 2012
@manuelpichler manuelpichler merged commit 479aaa5 into pdepend:master Oct 11, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants