Very surprise to me.I found this is a built-in function but it is undocumented.Such as this answer's "CurvedArc" and "Curvature",this answer's "EdgeShapeFunction",this answer's "GraphHighlightStyle" and so on.I confuse these friend how to find these parameter.Anyone can give a method to find those parameters and other?

  • 2
    $\begingroup$ Undocumented options / functions have been discussed extensively on this site, e.g. What are some useful, undocumented Mathematica functions?, and Is using undocumented functionality a Bad Idea™?. A search for "undocumented" in this site will return many such examples. There are no obvious methods to find undocumented functionality, but hunting for them is certainly fun! $\endgroup$ – MarcoB May 29 '16 at 3:30
  • 1
    $\begingroup$ @MarcoB I'm not sure if we can call it undocumented. It is mentioned in many documentation pages, but it doesn't have its own page or usage message! $\endgroup$ – Szabolcs Aug 18 '16 at 13:22

After some digging, I found this symbol is related to the undocumented GraphComputation`GraphElementDataDump`RawNetworkGraphData.You can find the usages you mentioned and much more by typing the code:


Here is preview of a portion of definitions, you can follow the links inside to trace function calls. enter image description here

FYI, the process of my digging is actually simple, just turn on the undocumented option: TraceInternal->True in Trace or TracePrint, and you can find out more about its evaluation.

If MMA returns an empty notebook

You have to evaluate GraphElementData["EdgeShapeFunction"] first, or the definitions won't load and the page will be blank.

If PrintDefinitions says too many definitions

This will happen in version before 10.4. In this case you can use Information.

  • $\begingroup$ @yode thanks for your markdown suggestion, I didn't know it before. $\endgroup$ – vapor May 29 '16 at 3:59
  • $\begingroup$ You are welcome,be my guest.:) $\endgroup$ – yode May 29 '16 at 4:02
  • $\begingroup$ BTW, what's your Mathematica version? $\endgroup$ – xyz May 29 '16 at 8:18
  • $\begingroup$ @ShutaoTANG 10.4.1, but I can roughly guess the problem, see my update. $\endgroup$ – vapor May 29 '16 at 8:27
  • $\begingroup$ @happyfish Thanks, in V10.3.1, PrintDefinitions[GraphComputation`GraphElementDataDump`RawNetworkGraphData] return a empty notebook $\endgroup$ – xyz May 29 '16 at 9:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.