←back to thread

183 points bschne | 1 comments | | HN request time: 0.209s | source
1. perihelions ◴[] No.41877916[source]
For those unfamiliar, there's alternatively a standard FOSS tool, graphviz, that's roughly equivalent to what these Wolfram examples do. It has a trivial syntax: this is a complete example that draws exactly what it says,

    digraph { a -> b -> c -> a }
Here's minimal syntax for drawing directed graphs with image nodes, in the style the Wolfram example uses:

    digraph {
        node [label="", style="none", shape="plaintext",
              fixedsize="true", imagescale="false",
              width=1.0, height=1.0]
        copper_plate [image="Copper_plate.png"]
        copper_cable [image="Copper_cable.png"]
        copper_plate -> copper_cable [label=" 50 trillion"]
    }