degraph icon indicating copy to clipboard operation
degraph copied to clipboard

question: filtering by regular expression

Open allan-d-c opened this issue 13 years ago • 2 comments

Greetings! I am trying out degraph and cannot get it to filter a graph by regular expression. For example if I use something like

-i Test -i Name -i Event

Then the resulting graph is empty. I know there are classes with those words in them. I'd really like to do by full name, including package, like this

-i com.acme.gui.events

allan-d-c avatar Jul 12 '13 20:07 allan-d-c

Never mind. I found the examples and instructions on using a config file and that is working fine.

allan-d-c avatar Jul 12 '13 21:07 allan-d-c

Just for others that might stumble across this issue:

You have to use wildcards similar to those used e.g. in Ant:

Test matches just a class Test in the default package **Test matches any class in any package that ends in Test

It is also highly recommended to use a cofiguration file instead of command line parameters

currently there is documentation about this in the wiki: https://github.com/schauder/degraph/wiki/Configuration-File-Format

I'm in the process of creating an updated version of the documentation here: http://schauder.github.io/degraph/documentation.html#configuration_file

schauder avatar Jul 13 '13 05:07 schauder