In[]:=
SetOptions[EvaluationNotebook[],AutoGeneratedPackageAutomatic]
In[]:=
BeginPackage["WpTools`"]documentrule::usage="documentrule[rule] gives documentation about rule, rule number if exists, (1)";Begin["`Private`"]documentrule[r_Rule]:=PrintRulePlot[r],VertexLabelsAutomatic,"RulePartsAspectRatio"0.5;Print[r,Automatic,3]["StatesPlotsList",VertexLabelsAutomatic];(*Print[r,Automatic,<|"MaxEvents"6|>,"EventsStatesPlotsList"];Print[r,Automatic,7]["StatesPlotsList",ImageSizeTiny]*);If[FailureQ[#],Nothing,Print[#]]&@[r]End[]EndPackage[]
Out[]=
WpTools`
Out[]=
WpTools`Private`
Out[]=
WpTools`Private`
In[]:=
?documentrule
Out[]=
In[]:=
documentrule[{{1,2}}{{2,3},{3,1}}]
wm686
Out[]=
{Null}

