- Revise for 7.0.0 Mathics3 API; we need to explicilty load builtins
- Newer matplotlib requires a plot close.
- Networkx 3.3 supported
- sort connected components in output
Revise for 6.0.0 Mathics3 API and current Mathics3 builtin standards described in Guidelines for Writing Documentation.
This package has undergone a major overhaul. Modules have been split out along into logical groups following the documentation structure.
We have gradually been rolling in more Python type annotations and
have been using current Python practices. Tools such as using
isort
, black
and flake8
are used as well.
Evaluation methods of built-in functions start eval_
not
apply_
.
There is more refactoring more to do here, Upgrade to NetworkX is also desirable.
Track API changes in Mathics 5.0.0.
Changed to use networkx 2.8 or greater.
Some functionality has been removed for now, because networkx 2.8's API is a bit different with its new NodeView and EdgeView API.
Small API changes to track Mathics 3.0.0.
Blacken everything
Small changes to track Mathics 2.2.0
First public release.
The names below follow the WL names. Look up the corresponding documentation for information about these.
AcyclicGraphQ
AdjacencyList
BalancedTree
BarbellGraph
BetweennessCentrality
BinomialTree
ClosenessCentrality
CompleteGraph
CompleteKaryTree
ConnectedComponents
ConnectedGraphQ
CycleGraph
DegreeCentrality
DirectedEdge
DirectedGraphQ
EdgeAdd
EdgeConnectivity
EdgeCount
EdgeDelete
EdgeIndex
EdgeList
EdgeRules
EigenvectorCentrality
FindShortestPath
FindSpanningTree
FindVertexCut
FullRAryTree
Graph
GraphAtlas
GraphBox
GraphData
GraphDistance
HITSCentrality
HighlightGraph
HknHararyGraph
HmnHararyGraph
KaryTree
KatzCentrality
LadderGraph
LoopFreeGraphQ
MixedGraphQ
MultigraphQ
PageRankCentrality
PathGraph
PathGraphQ
PlanarGraphQ
Property
PropertyValue
RandomGraph
RandomTree
SimpleGraphQ
StarGraph
TreeGraph
TreeGraphQ
UndirectedEdge
VertexAdd
VertexConnectivity
VertexCount
VertexDegree
VertexDelete
VertexIndex
VertexList
WeaklyConnectedComponents
DodecahedralGraph
DiamondGraph
PappusGraph
IsohedralGraph
PetersenGraph
The names below follow the WL names. Look up the corresponding documentation for information about these. However you can also use the corresponding networkx name, e.g. "c" for "Circle", "D" for "Diamond", etc.
Circle
Diamond
Square
Star
Pentagon
Octagon
Hexagon
Triangle