Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
This module aim to create GIF, APNG, pdf type standalone or Beamer from a graph written in LaTex. And showing an excution of one algorithm (for exemple Dijkstra)
Install module:
pip install graphanime
return an object Graph which represented graph write in LaTeX
excute dijkstra algorithm on graph and return list of graph
it's Back-end for slide Beamer with a source is list of graph (anim)
it's Back-end for natural pdf with a source is list of graph (anim)
it's Back-end for GIF with a source is list of graph (anim)
it's Back-end for APNG with a source is list of graph (anim) WARNING: it's not support everywhere
\documentclass[tikz]{standalone}
\usepackage{tikz}
\usetikzlibrary{quotes}
%\usepackage{}
%\use...library{}
%\tikzset{every figure} = []
\begin{document}
\begin{tikzpicture}
%\node (name node) at(x,y) [options split by comma] {display} ;
\node () at(,) [] {} ;
\node () at(,) [] {} ;
%(name node): characters prohibited: ) [ ; \node
%at(x,y): optional : x and y must to do a well coordonate : numbers
%[options split by comma]: option of node. Few details:
%fill=color
%label=text of label ou label={text of label} ou label={:text of label}
%label={position of label:text of label}
%label={[color du label]:text of label}
%label={[color du label]position of label:text of label}
%text of label : characters prohibited: ; { } ,
%draw ou draw=
%draw=color
{Affichage}: charactères interdits: { ] ;
%\path (name node A) edge[options split by comma] (name node B);
\path
() edge[] ()
() edge[] ()
;
%name node: to reference to name of node set upper
%[options split by comma]: options for edge/arc. Few details:
%-> or <-or -: way of edge
%"edge_label": indication on edge, for Dijkstra it's weight, for Dijkstra obligatory option
% edge_label : characters prohibited: ; , " \node
%color=color: la color of edge
\end{tikzpicture}
\end{document}
x = load('Exemples/exemple_dijkstra_wiki.tex')
A = Dijkstra(x, "node 1", "node 5")
gen_gif(A, "versusWiki",700)
And for more exemple go to github
FAQs
create execution graph in GIF/PDF with LaTex
We found that graphanime demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.